# HG changeset 15391 patch # User kfraser@localhost.localdomain # Date 1182343194 -3600 # Node ID fe3df33e27615a9732f0ae73d65dae0f23afbb4d # Parent 69658f935cc737c46d33404ccb5e9aff9842e5cb 32-on-64: First slot of hidden L4 page directory must start life as zero. Signed-off-by: Keir Fraser Index: 2007-05-14/xen/arch/x86/domain.c =================================================================== --- 2007-05-14.orig/xen/arch/x86/domain.c 2007-07-02 10:48:10.000000000 +0200 +++ 2007-05-14/xen/arch/x86/domain.c 2007-07-02 10:48:13.000000000 +0200 @@ -234,6 +234,7 @@ static int setup_compat_l4(struct vcpu * pg->u.inuse.type_info = PGT_l4_page_table|PGT_validated; l4tab = copy_page(page_to_virt(pg), idle_pg_table); + l4tab[0] = l4e_empty(); l4tab[l4_table_offset(LINEAR_PT_VIRT_START)] = l4e_from_page(pg, __PAGE_HYPERVISOR); l4tab[l4_table_offset(PERDOMAIN_VIRT_START)] =