[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] This is a small fix for SMP PAE guest on x86-64.
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID 57e7b96139e7206e22decd18f606da4481d4ebb3 # Parent 25e4cd1c3d269022dc6c75dfddac9710e092f575 This is a small fix for SMP PAE guest on x86-64. Since part of the VMX guest initialization is running in the context of dom0, so when we want to make sure the operation of shadow ops is always done by vcpu0 of the guest VMX domain, we should make sure the current vcpu0 is running in guest domain and not in the dom0. Signed-off-by: Xiaohui Xin xiaohui.xin@xxxxxxxxx Signed-off-by: Xin Li <xin.b.li@xxxxxxxxx> diff -r 25e4cd1c3d26 -r 57e7b96139e7 xen/arch/x86/shadow_public.c --- a/xen/arch/x86/shadow_public.c Tue Apr 25 08:54:36 2006 +0100 +++ b/xen/arch/x86/shadow_public.c Tue Apr 25 08:56:01 2006 +0100 @@ -108,7 +108,7 @@ int shadow_set_guest_paging_levels(struc * Need to wait for VCPU0 to complete the on-going shadow ops. */ - if ( v->vcpu_id ) + if ( v->domain == d && v->vcpu_id ) return 1; shadow_lock(d); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |