From: "Emilio G. Cota" <c...@braap.org> l1_map is based on physical addresses in full-system mode, as pointed out in an earlier comment. Said comment also mentions that virtual addresses are only used in l1_map in user-only mode.
Signed-off-by: Emilio G. Cota <c...@braap.org> Message-Id: <1440375847-17603-11-git-send-email-c...@braap.org> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> --- translate-all.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/translate-all.c b/translate-all.c index 2a40530..a75aeed 100644 --- a/translate-all.c +++ b/translate-all.c @@ -122,8 +122,7 @@ uintptr_t qemu_real_host_page_mask; uintptr_t qemu_host_page_size; uintptr_t qemu_host_page_mask; -/* This is a multi-level map on the virtual address space. - The bottom level has pointers to PageDesc. */ +/* The bottom level has pointers to PageDesc */ static void *l1_map[V_L1_SIZE]; /* code generation context */ -- 2.4.3