mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
[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:
1 parent
49ad34e4f4
commit
95ce7ffd2d
1 file changed
-1
@@ -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)) )
|
||||
|
||||