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

[Xen-devel] [PATCH] vmresume-vmx-bug.patch



If vmresume/launch fails, only the affected domain should crash.

Signed-off-by: Arun Sharma <arun.sharma@xxxxxxxxx>

Index: trunk/xen/arch/x86/vmx_vmcs.c
===================================================================
--- trunk/xen/arch/x86/vmx_vmcs.c       (revision 1220)
+++ trunk/xen/arch/x86/vmx_vmcs.c       (working copy)
@@ -444,12 +444,12 @@
 
 void vm_launch_fail(unsigned long eflags)
 {
-    BUG();
+    __vmx_bug(guest_cpu_user_regs());
 }
 
 void vm_resume_fail(unsigned long eflags)
 {
-    BUG();
+    __vmx_bug(guest_cpu_user_regs());
 }
 
 #endif /* CONFIG_VMX */

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


 


Rackspace

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