[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [XEN] Fix 14315



# HG changeset patch
# User Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
# Date 1173443317 0
# Node ID 87cb4916dd757f48190db8055e6691acd2d5d9fc
# Parent  bae81f7013a6d0568e83f8a9214bfe61aa72f4b3
[XEN] Fix 14315
We do need to be able to shadow_enable vcpu-less domains.
Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
---
 xen/arch/x86/mm/shadow/common.c |    1 -
 1 files changed, 1 deletion(-)

diff -r bae81f7013a6 -r 87cb4916dd75 xen/arch/x86/mm/shadow/common.c
--- a/xen/arch/x86/mm/shadow/common.c   Fri Mar 09 12:16:21 2007 +0000
+++ b/xen/arch/x86/mm/shadow/common.c   Fri Mar 09 12:28:37 2007 +0000
@@ -2386,7 +2386,6 @@ int shadow_enable(struct domain *d, u32 
 
     /* Sanity check the arguments */
     if ( (d == current->domain) ||
-         d->vcpu[0] == NULL ||
          shadow_mode_enabled(d) ||
          ((mode & PG_translate) && !(mode & PG_refcounts)) ||
          ((mode & PG_external) && !(mode & PG_translate)) )

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.