public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Young <hidave.darkstar@gmail.com>
To: Avi Kivity <avi@redhat.com>
Cc: Jan Kiszka <jan.kiszka@web.de>,
	kvm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [BUG] kvm: guest can not startup due to triple fault
Date: Mon, 18 Oct 2010 21:45:08 +0800	[thread overview]
Message-ID: <20101018134508.GA11885@darkstar> (raw)
In-Reply-To: <4CBC4B06.3030300@redhat.com>

On Mon, Oct 18, 2010 at 03:26:30PM +0200, Avi Kivity wrote:
>  On 10/18/2010 02:58 PM, Dave Young wrote:
> >>
> >>  It's secondary_startup_64 enabling efer.sce and efer.nx.
> >>
> >>  Dave, please post your /proc/cpuinfo.  Is your host running with NX
> >>  disabled?
> >
> >I see nx bit in /proc/cpuinfo, Actually I don't know how to disable it.
> 
> Strange.
> 
> Please patch arch/x86/kvm/x86.c to printk efer_reserved_bits (a
> global), efer (an argument) and old_efer (a local), and post the
> results.

I add printk before kvm_mmu_reset_context(vcpu), correct? get following value:

[ 3228.468325] efer_reserved_bits = 0xfffffffffffffafe
[ 3228.468328] efer = 0x100
[ 3228.468330] old_efer = 0x0


  reply	other threads:[~2010-10-18 13:44 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-17  8:54 [BUG] kvm: guest can not startup due to triple fault Dave Young
2010-10-17  8:56 ` Dave Young
2010-10-17  9:34 ` Avi Kivity
2010-10-17 10:14   ` Dave Young
2010-10-17 12:15     ` Avi Kivity
2010-10-18  4:43       ` Dave Young
2010-10-18  7:14         ` Jan Kiszka
2010-10-18  8:55           ` Avi Kivity
2010-10-18  8:58             ` Avi Kivity
2010-10-18 12:26               ` Steven Rostedt
2010-10-18 12:27                 ` Avi Kivity
2010-10-18  9:15           ` Avi Kivity
2010-10-18 12:58             ` Dave Young
2010-10-18 13:26               ` Avi Kivity
2010-10-18 13:45                 ` Dave Young [this message]
2010-10-18 13:46                   ` Avi Kivity
2010-10-18 13:50                     ` Avi Kivity
2010-10-18 13:58                       ` Dave Young
2010-10-18 14:06                         ` Avi Kivity
2010-10-18 14:11                           ` Dave Young
2010-10-18 14:13                             ` Avi Kivity
2010-10-18 14:15                               ` Dave Young
2010-10-18 14:17                                 ` Dave Young
2010-10-18 14:19                                 ` Avi Kivity
2010-10-18 14:25                                   ` Dave Young
2010-10-18 14:28                                     ` Avi Kivity
2010-10-18 18:47                           ` H. Peter Anvin
2010-10-19  1:19                             ` Dave Young
2010-10-19  2:59                               ` H. Peter Anvin
2010-10-19  6:55                                 ` Dave Young
2010-10-19  8:57                                   ` Avi Kivity
2010-10-19 11:52                                     ` Dave Young
2010-10-19 14:56                                     ` H. Peter Anvin
2010-10-19 15:04                                       ` Avi Kivity
2010-10-19 15:31                                         ` H. Peter Anvin
2010-10-18 13:51                     ` Dave Young

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=20101018134508.GA11885@darkstar \
    --to=hidave.darkstar@gmail.com \
    --cc=avi@redhat.com \
    --cc=jan.kiszka@web.de \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@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