Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1640313

Re: [PATCH 2/2] KVM: nVMX: fix nEPT handling of guest page table accesses

From Paolo Bonzini <pbonzini@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] KVM: nVMX: fix nEPT handling of guest page table accesses
Date 2017-05-12 10:40 +0200
Message-ID <tGehb-1Nr-3@gated-at.bofh.it> (permalink)
References <tFUs9-5GE-3@gated-at.bofh.it> <tFUs9-5GE-7@gated-at.bofh.it> <tGdl8-16h-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 12/05/2017 09:38, Xiao Guangrong wrote:
> CC Kevin as i am not sure if Intel is aware of this issue, it
> breaks other hypervisors, e.g, Xen, as swell.

It's actually more complicated.

When EPT A/D bits are disabled, reads of the page tables behave as
described in the manual; writes have both bit 0 and bit 1 set, while the
manual suggests only bit 1 is set.

Peter and David convinced me that it's a hypervisor bug, and I'm not
surprised that Xen has the same issue.  You have to disable EPT A/D bits
for shadow EPT page tables when the L1 hypervisor is not using them.

Paolo

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 2/2] KVM: nVMX: fix nEPT handling of guest page table accesses Paolo Bonzini <pbonzini@redhat.com> - 2017-05-11 13:30 +0200
  Re: [PATCH 2/2] KVM: nVMX: fix nEPT handling of guest page table  accesses Xiao Guangrong <guangrong.xiao@gmail.com> - 2017-05-12 09:40 +0200
    Re: [PATCH 2/2] KVM: nVMX: fix nEPT handling of guest page table  accesses Paolo Bonzini <pbonzini@redhat.com> - 2017-05-12 10:40 +0200

csiph-web