public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@qumranet.com>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: kvm@vger.kernel.org
Subject: Re: lapic & npt
Date: Wed, 04 Jun 2008 19:16:32 +0300	[thread overview]
Message-ID: <4846BFE0.8070507@qumranet.com> (raw)
In-Reply-To: <4846BEB8.1000208@redhat.com>

Gerd Hoffmann wrote:
>   Hi,
>
> I've just noticed that xenner doesn't work for 64bit xen guest kernels
> on my new shiny barcelona box.  The VM crashes when trying to access the
> lapic.  lapic setup is done before idt setup, register dump looks like
> init state, thus it most likely is a triple fault resetting the vcpu.
> Turning off npt fixes it.
>
> xenner maps the lapic to ffff820000000000 (64bit guests) or fe900000
> (32bit guests).  32bit works fine even with npt enabled.
>
> host kernel is fedora 9 with kvm-69 modules.
>
> ideas anyone?
>
>   

Turn on logging in lapic.c.  See if something turns up.

If not, the page tables are probably set up incorrectly, but in a way 
that kvm doesn't notice.

-- 
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


  reply	other threads:[~2008-06-04 16:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-04 16:11 lapic & npt Gerd Hoffmann
2008-06-04 16:16 ` Avi Kivity [this message]
2008-06-06 14:45   ` Gerd Hoffmann
2008-06-06 16:30     ` Avi Kivity
2008-06-27 14:42       ` Gerd Hoffmann
2008-06-30 10:21   ` Gerd Hoffmann
2008-06-04 18:56 ` Vringfd Dong, Eddie

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=4846BFE0.8070507@qumranet.com \
    --to=avi@qumranet.com \
    --cc=kraxel@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