[xen staging-4.8] x86/emul: Fix emulator test harness build following a91b2ec337a

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

[xen staging-4.8] x86/emul: Fix emulator test harness build following a91b2ec337a

patchbot
commit c10ddc1ff98de7a30edf8cbf0968833d8223e8be
Author:     Andrew Cooper <[hidden email]>
AuthorDate: Wed May 9 16:24:28 2018 +0100
Commit:     Andrew Cooper <[hidden email]>
CommitDate: Wed May 9 16:42:00 2018 +0100

    x86/emul: Fix emulator test harness build following a91b2ec337a
   
    Versions of Xen before c/s 5c6c3ac (Xen 4.9) don't use msr-index.h for the
    test harness.
   
    Reported-by: Ian Jackson <[hidden email]>
    Signed-off-by: Andrew Cooper <[hidden email]>
---
 tools/tests/x86_emulator/x86_emulate.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/tests/x86_emulator/x86_emulate.c b/tools/tests/x86_emulator/x86_emulate.c
index 127a92643c..58cfd8ae7d 100644
--- a/tools/tests/x86_emulator/x86_emulate.c
+++ b/tools/tests/x86_emulator/x86_emulate.c
@@ -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
--
generated by git-patchbot for /home/xen/git/xen.git#staging-4.8

_______________________________________________
Xen-changelog mailing list
[hidden email]
https://lists.xenproject.org/xen-changelog