kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH kvm-unit-tests] x86: msr: remove invalid test
@ 2014-08-05 10:27 Paolo Bonzini
  0 siblings, 0 replies; only message in thread
From: Paolo Bonzini @ 2014-08-05 10:27 UTC (permalink / raw)
  To: kvm; +Cc: chris.j.arges

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 --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}}
     },
-- 
1.9.3


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-08-05 10:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-05 10:27 [PATCH kvm-unit-tests] x86: msr: remove invalid test Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).