]> xenbits.xensource.com Git - people/andrewcoop/xen.git/commitdiff
x86/emul: Fix emulator test harness build following a91b2ec337a
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 9 May 2018 15:24:28 +0000 (16:24 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 9 May 2018 15:42:00 +0000 (16:42 +0100)
Versions of Xen before c/s 5c6c3ac (Xen 4.9) don't use msr-index.h for the
test harness.

Reported-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/tests/x86_emulator/x86_emulate.c

index 127a92643c012a1a53ecfe16ec45186e2db3a659..58cfd8ae7d291f75d358d37ce5f45da2c4059143 100644 (file)
@@ -14,6 +14,7 @@ typedef bool bool_t;
 
 #define EFER_SCE       (1 << 0)
 #define EFER_LMA       (1 << 10)
+#define EFER_SVME      (1 << 12)
 
 #define BUG() abort()
 #define ASSERT assert