All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Lok Kwong Yan <loyan@syr.edu>
Cc: Anthony Liguori <anthony@codemonkey.ws>,
	"kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: Does KVM use one EPT table per Guest CR3?
Date: Sun, 19 Dec 2010 16:31:49 +0200	[thread overview]
Message-ID: <4D0E1755.6020407@redhat.com> (raw)
In-Reply-To: <4D0B80BC.3080700@redhat.com>

On 12/17/2010 05:24 PM, Avi Kivity wrote:
> On 12/17/2010 12:14 AM, Lok Kwong Yan wrote:
>> Thanks for the reply and it makes a lot of sense.
>>
>> I am not seeing any EPT tables being zapped after the guest has fully 
>> started up although the value of EPTP continuously changes as the 
>> guest is running.
>
> Really strange, this is likely a bug.
>

I tried to reproduce, the only times I see eptp changes are when the 
guest reprograms the vga adapter:

  qemu-system-x86-20944 [033]  1327.151819: kvm_pio:              
pio_write at 0x3ce size 2 count 1
  qemu-system-x86-20944 [033]  1327.151819: kvm_userspace_exit:   reason 
KVM_EXIT_IO (2)
  qemu-system-x86-20944 [033]  1327.152405: kvm_mmu_prepare_zap_page: 
[FAILED TO PARSE] gfn=237568 role=122881 root_count=0 unsync=0
...
  qemu-system-x86-20944 [033]  1327.153230: kvm_mmu_prepare_zap_page: 
[FAILED TO PARSE] gfn=0 role=253956 root_count=2 unsync=0
  qemu-system-x86-20944 [033]  1327.153339: kvm_mmu_get_page:     sp gfn 
0 0/4 q0 direct --- !pge !nxe root 0sync
  qemu-system-x86-20944 [033]  1327.153344: print:                
a0265cde vmx_set_cr3: eptp fef14101

Under what scenario do you see eptp changing?

-- 
error compiling committee.c: too many arguments to function


  reply	other threads:[~2010-12-19 14:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-07 21:47 Does KVM use one EPT table per Guest CR3? Lok Kwong Yan
2010-12-07 21:57 ` Anthony Liguori
2010-12-07 22:00   ` Lok Kwong Yan
2010-12-07 22:11     ` Anthony Liguori
2010-12-10  7:44       ` Lok Kwong Yan
2010-12-12 10:47         ` Avi Kivity
2010-12-16 22:14           ` Lok Kwong Yan
2010-12-17 15:24             ` Avi Kivity
2010-12-19 14:31               ` Avi Kivity [this message]
2010-12-22 21:56                 ` Lok Kwong Yan
2011-02-10 20:47                 ` Lok Kwong Yan

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=4D0E1755.6020407@redhat.com \
    --to=avi@redhat.com \
    --cc=anthony@codemonkey.ws \
    --cc=kvm@vger.kernel.org \
    --cc=loyan@syr.edu \
    /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.