[XEN] Fix 14315

We do need to be able to shadow_enable vcpu-less domains.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
This commit is contained in:
Tim Deegan committed 2007-03-09 12:28:37 +00:00
1 parent 49ad34e4f4
commit 95ce7ffd2d
1 file changed
-1
-1
View File
@@ -2386,7 +2386,6 @@ int shadow_enable(struct domain *d, u32 mode)
/* 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)) )
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.