ia64/xen-unstable

changeset 5382:f316a7dbe1f2

bitkeeper revision 1.1691.1.14 (42a7f2b43iPqu7TV41Z28IeI0Wj1Vg)

[PATCH] vmresume-vmx-bug.patch

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

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
author arun.sharma@intel.com[kaf24]
date Thu Jun 09 07:41:40 2005 +0000 (2005-06-09)
parents 0be846d7d261
children b46685573b0f
files xen/arch/x86/vmx_vmcs.c
line diff
     1.1 --- a/xen/arch/x86/vmx_vmcs.c	Wed Jun 08 21:48:47 2005 +0000
     1.2 +++ b/xen/arch/x86/vmx_vmcs.c	Thu Jun 09 07:41:40 2005 +0000
     1.3 @@ -445,12 +445,12 @@ int store_vmcs(struct arch_vmx_struct *a
     1.4  
     1.5  void vm_launch_fail(unsigned long eflags)
     1.6  {
     1.7 -    BUG();
     1.8 +    __vmx_bug(guest_cpu_user_regs());
     1.9  }
    1.10  
    1.11  void vm_resume_fail(unsigned long eflags)
    1.12  {
    1.13 -    BUG();
    1.14 +    __vmx_bug(guest_cpu_user_regs());
    1.15  }
    1.16  
    1.17  #endif /* CONFIG_VMX */