From c39827f5be760299d74aaa9bd585987d0ffe8ef0 Mon Sep 17 00:00:00 2001 From: Andrew Cooper Date: Wed, 9 May 2018 16:25:14 +0100 Subject: [PATCH] x86/emul: Fix emulator test harness build following a91b2ec337a Versions of Xen before c/s 5c6c3ac in Xen 4.9 don't use msr-index.h for the test harness. Reported-by: Ian Jackson Signed-off-by: Andrew Cooper (cherry picked from commit e017133490d35eab64c0a61bfb233162fdacccc4) Gbp-Pq: Name x86emul-fix-emulator-test-harness-build-.patch --- 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 -- 2.30.2