All of lore.kernel.org
 help / color / mirror / Atom feed
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: Mon, 23 Mar 2009 14:24:24 -0400	[thread overview]
Message-ID: <49C7D3D8.3060508@cs.cmu.edu> (raw)
In-Reply-To: <49C60011.8030405@redhat.com>

Avi Kivity wrote:
> On 32-bit, we might actually reach the default: label of the switch in 
> vmx_set_msr().  Can you add a printk() there? print both msr_index, and, 
> if msr is not NULL, msr->index and msr->data.

Sure:

vmx_set_msr: msr_index 0xc0000081 msr->index 0xc0000081 msr->data 0x0
vmx_set_msr: msr_index 0xc0010117
vmx_set_msr: msr_index 0x250
vmx_set_msr: msr_index 0x258
vmx_set_msr: msr_index 0x259
vmx_set_msr: msr_index 0x268
vmx_set_msr: msr_index 0x269
vmx_set_msr: msr_index 0x26a
vmx_set_msr: msr_index 0x26b
vmx_set_msr: msr_index 0x26c
vmx_set_msr: msr_index 0x26d
vmx_set_msr: msr_index 0x26e
vmx_set_msr: msr_index 0x26f
vmx_set_msr: msr_index 0x200
vmx_set_msr: msr_index 0x201
vmx_set_msr: msr_index 0x2ff
vmx_set_msr: msr_index 0xc0000080 msr->index 0xc0000080 msr->data 0x100
general protection fault: 0000 [#1] PREEMPT SMP
[...]

The printk is after msr->data is set to the value of the data parameter.

--Benjamin Gilbert

  reply	other threads:[~2009-03-23 18:54 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
2009-03-22  9:08         ` Avi Kivity
2009-03-23 18:24           ` Benjamin Gilbert [this message]
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=49C7D3D8.3060508@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.