Skip to contentSkip to conversation

vmresume-vmx-bug.patch

PATCH New Arun Sharma 1 participant 1 message Jun 8, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vmresume-vmx-bug.patch

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

xen/arch/x86/vmx_vmcs.c +2 -2
Index: trunk/xen/arch/x86/vmx_vmcs.c
===================================================================
@@ -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 */