direct-io.hg

changeset 14317:87cb4916dd75

[XEN] Fix 14315
We do need to be able to shadow_enable vcpu-less domains.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
author Tim Deegan <Tim.Deegan@xensource.com>
date Fri Mar 09 12:28:37 2007 +0000 (2007-03-09)
parents bae81f7013a6
children 6ff2a1286484
files xen/arch/x86/mm/shadow/common.c
line diff
     1.1 --- a/xen/arch/x86/mm/shadow/common.c	Fri Mar 09 12:16:21 2007 +0000
     1.2 +++ b/xen/arch/x86/mm/shadow/common.c	Fri Mar 09 12:28:37 2007 +0000
     1.3 @@ -2386,7 +2386,6 @@ int shadow_enable(struct domain *d, u32 
     1.4  
     1.5      /* Sanity check the arguments */
     1.6      if ( (d == current->domain) ||
     1.7 -         d->vcpu[0] == NULL ||
     1.8           shadow_mode_enabled(d) ||
     1.9           ((mode & PG_translate) && !(mode & PG_refcounts)) ||
    1.10           ((mode & PG_external) && !(mode & PG_translate)) )