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

[Xen-changelog] [xen-3.0.5-testing] [HVM][HAP] Don't kill domains if dom0 requests an invalid shadow op.



# HG changeset patch
# User Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
# Date 1177420137 -3600
# Node ID 837e3d8832a435bd440efaf04e6303dfcdffbf48
# Parent  d250c75ea59ad8353237c62a10a5014c28ffe42b
[HVM][HAP] Don't kill domains if dom0 requests an invalid shadow op.
Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
---
 xen/arch/x86/mm/hap/hap.c |   10 ----------
 1 files changed, 10 deletions(-)

diff -r d250c75ea59a -r 837e3d8832a4 xen/arch/x86/mm/hap/hap.c
--- a/xen/arch/x86/mm/hap/hap.c Tue Apr 24 13:49:11 2007 +0100
+++ b/xen/arch/x86/mm/hap/hap.c Tue Apr 24 14:08:57 2007 +0100
@@ -504,16 +504,6 @@ int hap_domctl(struct domain *d, xen_dom
     }
     
     switch ( sc->op ) {
-    case XEN_DOMCTL_SHADOW_OP_OFF:
-    case XEN_DOMCTL_SHADOW_OP_ENABLE_TEST:
-    case XEN_DOMCTL_SHADOW_OP_ENABLE_LOGDIRTY:
-    case XEN_DOMCTL_SHADOW_OP_ENABLE_TRANSLATE:
-    case XEN_DOMCTL_SHADOW_OP_CLEAN:
-    case XEN_DOMCTL_SHADOW_OP_PEEK:
-    case XEN_DOMCTL_SHADOW_OP_ENABLE:
-        HAP_ERROR("Bad hap domctl op %u\n", sc->op);
-        domain_crash(d);
-        return -EINVAL;
     case XEN_DOMCTL_SHADOW_OP_SET_ALLOCATION:
         hap_lock(d);
         rc = hap_set_allocation(d, sc->mb << (20 - PAGE_SHIFT), &preempted);

_______________________________________________
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®.