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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx>
Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
---
 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

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux