[PATCH] vmx-fix-vmxbug.patch

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] vmx-fix-vmxbug.patch

Arun Sharma-11
Tighten VMX bug checking.

Signed-off-by: Mikhail Kharitonov <[hidden email]>
Signed-off-by: Arun Sharma <[hidden email]>

--- 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
[hidden email]
http://lists.xensource.com/xen-devel