diff mbox

[kvm-unit-tests] x86: msr: remove invalid test

Message ID 1407234429-22726-1-git-send-email-pbonzini@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Paolo Bonzini Aug. 5, 2014, 10:27 a.m. UTC
The APICBASE register is already tested by the apic testcase,
and the simple-minded tests in msr.flat actually trigger a
general protection fault nowadays.  Just drop the tests, and
the test now passes.

Reported-by: Chris J Arges <chris.j.arges@canonical.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 x86/msr.c | 6 ------
 1 file changed, 6 deletions(-)
diff mbox

Patch

diff --git a/x86/msr.c b/x86/msr.c
index db08a8d..ec4710e 100644
--- a/x86/msr.c
+++ b/x86/msr.c
@@ -19,12 +19,6 @@  struct msr_info {
 
 struct msr_info msr_info[] =
 {
-    { .index = 0x0000001b, .name = "MSR_IA32_APICBASE",
-      .val_pairs = {
-            { .valid = 1, .value = 0x0000000056789900, .expected = 0x0000000056789900},
-            { .valid = 1, .value = 0x0000000056789D01, .expected = 0x0000000056789D01},
-        }
-    },
     { .index = 0x00000174, .name = "IA32_SYSENTER_CS",
       .val_pairs = {{ .valid = 1, .value = 0x1234, .expected = 0x1234}}
     },