kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: kvm@vger.kernel.org
Cc: chris.j.arges@canonical.com
Subject: [PATCH kvm-unit-tests] x86: msr: remove invalid test
Date: Tue,  5 Aug 2014 12:27:08 +0200	[thread overview]
Message-ID: <1407234429-22726-1-git-send-email-pbonzini@redhat.com> (raw)

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


                 reply	other threads:[~2014-08-05 10:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1407234429-22726-1-git-send-email-pbonzini@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=chris.j.arges@canonical.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).