Il 15/06/2014 16:24, Jan Kiszka ha scritto:
+++ b/x86/vmx_tests.c
@@ -820,8 +820,8 @@ static int iobmp_exit_handler()
 #define INSN_ALWAYS_TRAP       2
 #define INSN_NEVER_TRAP                3

-#define FIELD_EXIT_QUAL                0
-#define FIELD_INSN_INFO                1
+#define FIELD_EXIT_QUAL                0x1
+#define FIELD_INSN_INFO                0x2

Small nit, using (1 << 0) and (1 << 1) would have reminded better this lazy maintainer that these fields form a bitmask. :)

Paolo


 asm(


--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to