public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Gleb Natapov <gleb@redhat.com>
To: Avi Kivity <avi@redhat.com>
Cc: "André Weidemann" <Andre.Weidemann@web.de>, kvm@vger.kernel.org
Subject: Re: Windows7 crashes inside the VM when starting a certain program
Date: Sun, 31 Jul 2011 11:34:02 +0300	[thread overview]
Message-ID: <20110731083402.GW4404@redhat.com> (raw)
In-Reply-To: <4E350F40.2010508@redhat.com>

On Sun, Jul 31, 2011 at 11:16:00AM +0300, Avi Kivity wrote:
> On 07/30/2011 03:29 PM, André Weidemann wrote:
> >>Looks like it tries to read MSR_LASTBRANCH_TOS MSR which kvm does not
> >>support. Do you see something interesting in dmesg? I wonder how
> >>availability of the MSR should be checked.
> >
> >
> >You are right about the MSR. The log file from the time of
> >occurrence shows the following:
> >
> >Jul  4 18:55:12 server kernel: [ 1528.618647] kvm: 3123: cpu1
> >kvm_set_msr_common: MSR_IA32_DEBUGCTLMSR 0x1, nop
> >Jul  4 18:55:12 server kernel: [ 1528.619444] kvm: 3123: cpu1
> >unhandled rdmsr: 0x1c9
> >
> 
> You can try
> 
> $ rmmod kvm-intel kvm
> $ modprobe kvm ignore_msrs=1
> $ modprobe kvm-intel
> 
> (or kvm-amd, as the case may be)
> 
> This will work around the issue, but the application may not
> function correctly.
> 
I wonder why Windows tries to use this MSR with -cpu host, but not with -cpu
Nehalem. Both cpus have this MSR (it is supported back to P4 it seams). 

--
			Gleb.

  reply	other threads:[~2011-07-31  8:34 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-07  5:26 Windows7 crashes inside the VM when starting a certain program André Weidemann
2011-07-26  5:29 ` André Weidemann
2011-07-26  6:42   ` Jan Kiszka
2011-07-26 10:08   ` Gleb Natapov
2011-07-26 10:57     ` André Weidemann
2011-07-27  8:56       ` Gleb Natapov
2011-07-29  7:20         ` André Weidemann
2011-07-29 11:37           ` Gleb Natapov
2011-07-30 12:29             ` André Weidemann
2011-07-31  8:16               ` Avi Kivity
2011-07-31  8:34                 ` Gleb Natapov [this message]
2011-07-28 12:01 ` Paolo Bonzini
2011-07-28 12:11   ` Gleb Natapov
2011-07-28 13:16   ` André Weidemann
2011-07-28 13:21     ` Avi Kivity
2011-07-28 13:49       ` Paolo Bonzini
2011-07-28 17:44         ` André Weidemann
2011-07-29  7:11           ` Paolo Bonzini

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=20110731083402.GW4404@redhat.com \
    --to=gleb@redhat.com \
    --cc=Andre.Weidemann@web.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox