[Xen-devel] [PATCH] vmx-fix-vmxbug.patch

Arun Sharma
Tue, 24 May 2005 21:08:31 -0000

Tighten VMX bug checking.

Signed-off-by: Mikhail Kharitonov <mikhail.i.kharitonov@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>

--- 1.50/xen/arch/x86/vmx.c	2005-05-12 06:58:45 -07:00
+++ edited/arch/x86/vmx.c	2005-05-19 11:02:57 -07:00
@@ -1087,7 +1087,7 @@
         unsigned long va;

         if ((error = __vmread(VM_EXIT_INTR_INFO, &vector))
-            && !(vector & INTR_INFO_VALID_MASK))
+            || !(vector & INTR_INFO_VALID_MASK))
             __vmx_bug(&regs);
         vector &= 0xff;


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com