From: Benjamin Gilbert <bgilbert@cs.cmu.edu>
To: Avi Kivity <avi@redhat.com>
Cc: kvm@vger.kernel.org
Subject: Re: Kernel GPF in vmx_save_host_state()
Date: Thu, 19 Mar 2009 17:00:57 -0400 [thread overview]
Message-ID: <49C2B289.7030707@cs.cmu.edu> (raw)
In-Reply-To: <49C20ED4.2040700@redhat.com>
Avi Kivity wrote:
> Well, that's certainly the wrmsr instruction. But I don't see how this
> can happen.
>
> Can you patch set_efer() in x86.c to print the value of the efer
> argument and of efer_reserved_bits?
Yes, but apparently set_efer() is never called. To verify, I patched
kvm_set_msr_common() to print the msr parameter:
kvm_set_msr_common: 0xc0010117
kvm_set_msr_common: 0x250
kvm_set_msr_common: 0x258
kvm_set_msr_common: 0x259
kvm_set_msr_common: 0x268
kvm_set_msr_common: 0x269
kvm_set_msr_common: 0x26a
kvm_set_msr_common: 0x26b
kvm_set_msr_common: 0x26c
kvm_set_msr_common: 0x26d
kvm_set_msr_common: 0x26e
kvm_set_msr_common: 0x26f
kvm_set_msr_common: 0x200
kvm_set_msr_common: 0x201
kvm_set_msr_common: 0x2ff
general protection fault: 0000 [#1] PREEMPT SMP
[...]
--Benjamin Gilbert
next prev parent reply other threads:[~2009-03-19 21:01 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-17 23:24 Kernel GPF in vmx_save_host_state() Benjamin Gilbert
2009-03-18 8:55 ` Avi Kivity
2009-03-18 17:26 ` Benjamin Gilbert
2009-03-19 9:22 ` Avi Kivity
2009-03-19 21:00 ` Benjamin Gilbert [this message]
2009-03-22 9:08 ` Avi Kivity
2009-03-23 18:24 ` Benjamin Gilbert
2009-03-23 18:34 ` Avi Kivity
2009-03-23 18:41 ` Benjamin Gilbert
2009-03-23 19:25 ` Avi Kivity
2009-03-23 20:07 ` Benjamin Gilbert
2009-03-19 4:04 ` Amit Shah
2009-03-19 9:55 ` Avi Kivity
2009-03-19 10:16 ` Amit Shah
2009-03-19 10:30 ` Avi Kivity
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=49C2B289.7030707@cs.cmu.edu \
--to=bgilbert@cs.cmu.edu \
--cc=avi@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.