@@ -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
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@redhat.com> --- x86/svm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)