While no AMD processor supports PKS yet, QEMU does and this causes a failure when running SVM tests with TCG. Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx> --- x86/svm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x86/svm.h b/x86/svm.h index 308daa55..c1dd84af 100644 --- a/x86/svm.h +++ b/x86/svm.h @@ -362,8 +362,8 @@ struct __attribute__ ((__packed__)) vmcb { #define SVM_CR3_LONG_MBZ_MASK 0xfff0000000000000U #define SVM_CR3_LONG_RESERVED_MASK 0x0000000000000fe7U #define SVM_CR3_PAE_LEGACY_RESERVED_MASK 0x0000000000000007U -#define SVM_CR4_LEGACY_RESERVED_MASK 0xff08e000U -#define SVM_CR4_RESERVED_MASK 0xffffffffff08e000U +#define SVM_CR4_LEGACY_RESERVED_MASK 0xfe08e000U +#define SVM_CR4_RESERVED_MASK 0xfffffffffe08e000U #define SVM_DR6_RESERVED_MASK 0xffffffffffff1ff0U #define SVM_DR7_RESERVED_MASK 0xffffffff0000cc00U #define SVM_EFER_RESERVED_MASK 0xffffffffffff0200U -- 2.45.1