Re: [Xen-devel] [PATCHv3 1/2] x86/ept: invalidate guest physical mappings on VMENTER

2015-12-16 Thread George Dunlap
On 14/12/15 14:41, David Vrabel wrote: > On 07/12/15 10:25, George Dunlap wrote: >> >> I took the past tense ("synced") to mean, "These CPUs have been >> brought into sync (or are no longer out of sync)". So they start out >> not-synced, so you initialize the bit to be clear; when an INVEPT is >>

Re: [Xen-devel] [PATCHv3 1/2] x86/ept: invalidate guest physical mappings on VMENTER

2015-12-14 Thread David Vrabel
On 07/12/15 10:25, George Dunlap wrote: > > I took the past tense ("synced") to mean, "These CPUs have been > brought into sync (or are no longer out of sync)". So they start out > not-synced, so you initialize the bit to be clear; when an INVEPT is > executed, they become synced, so you set the

Re: [Xen-devel] [PATCHv3 1/2] x86/ept: invalidate guest physical mappings on VMENTER

2015-12-07 Thread George Dunlap
On Fri, Dec 4, 2015 at 1:39 PM, David Vrabel wrote: > On 04/12/15 11:00, George Dunlap wrote: >> On 03/12/15 16:42, David Vrabel wrote: >>> If a guest allocates a page and the tlbflush_timestamp on the page >>> indicates that a TLB flush of the previous owner is required, only the >>> linear and c

Re: [Xen-devel] [PATCHv3 1/2] x86/ept: invalidate guest physical mappings on VMENTER

2015-12-04 Thread David Vrabel
On 04/12/15 11:00, George Dunlap wrote: > On 03/12/15 16:42, David Vrabel wrote: >> If a guest allocates a page and the tlbflush_timestamp on the page >> indicates that a TLB flush of the previous owner is required, only the >> linear and combined mappings are invalidated. The guest-physical >> ma

Re: [Xen-devel] [PATCHv3 1/2] x86/ept: invalidate guest physical mappings on VMENTER

2015-12-04 Thread George Dunlap
On 03/12/15 16:42, David Vrabel wrote: > If a guest allocates a page and the tlbflush_timestamp on the page > indicates that a TLB flush of the previous owner is required, only the > linear and combined mappings are invalidated. The guest-physical > mappings are not invalidated. > > This is curre

[Xen-devel] [PATCHv3 1/2] x86/ept: invalidate guest physical mappings on VMENTER

2015-12-03 Thread David Vrabel
If a guest allocates a page and the tlbflush_timestamp on the page indicates that a TLB flush of the previous owner is required, only the linear and combined mappings are invalidated. The guest-physical mappings are not invalidated. This is currently safe because the EPT code ensures that the gue