Re: [PATCH 4/4] nvmx: check for shadow vmcs check on entry

2016-07-22 Thread Bandan Das
Paolo Bonzini writes: >> Paolo Bonzini writes: >> >> > On 21/07/2016 00:25, Bandan Das wrote: >> >> vmentry should check whether the vmcs provided by >> >> the guest hypervisor is a shadow vmcs and fail. >> > >> > How can this happen, since vmptrld

Re: [PATCH 4/4] nvmx: check for shadow vmcs check on entry

2016-07-22 Thread Bandan Das
Paolo Bonzini writes: >> Paolo Bonzini writes: >> >> > On 21/07/2016 00:25, Bandan Das wrote: >> >> vmentry should check whether the vmcs provided by >> >> the guest hypervisor is a shadow vmcs and fail. >> > >> > How can this happen, since vmptrld checks the revision_id as you said >> >

Re: [PATCH 4/4] nvmx: check for shadow vmcs check on entry

2016-07-22 Thread Paolo Bonzini
> Paolo Bonzini writes: > > > On 21/07/2016 00:25, Bandan Das wrote: > >> vmentry should check whether the vmcs provided by > >> the guest hypervisor is a shadow vmcs and fail. > > > > How can this happen, since vmptrld checks the revision_id as you said > > below? > > This

Re: [PATCH 4/4] nvmx: check for shadow vmcs check on entry

2016-07-22 Thread Paolo Bonzini
> Paolo Bonzini writes: > > > On 21/07/2016 00:25, Bandan Das wrote: > >> vmentry should check whether the vmcs provided by > >> the guest hypervisor is a shadow vmcs and fail. > > > > How can this happen, since vmptrld checks the revision_id as you said > > below? > > This is more of a change

Re: [PATCH 4/4] nvmx: check for shadow vmcs check on entry

2016-07-21 Thread Bandan Das
Paolo Bonzini writes: > On 21/07/2016 00:25, Bandan Das wrote: >> vmentry should check whether the vmcs provided by >> the guest hypervisor is a shadow vmcs and fail. > > How can this happen, since vmptrld checks the revision_id as you said below? This is more of a change

Re: [PATCH 4/4] nvmx: check for shadow vmcs check on entry

2016-07-21 Thread Bandan Das
Paolo Bonzini writes: > On 21/07/2016 00:25, Bandan Das wrote: >> vmentry should check whether the vmcs provided by >> the guest hypervisor is a shadow vmcs and fail. > > How can this happen, since vmptrld checks the revision_id as you said below? This is more of a change that adheres to the

Re: [PATCH 4/4] nvmx: check for shadow vmcs check on entry

2016-07-21 Thread Paolo Bonzini
On 21/07/2016 00:25, Bandan Das wrote: > vmentry should check whether the vmcs provided by > the guest hypervisor is a shadow vmcs and fail. How can this happen, since vmptrld checks the revision_id as you said below? Paolo > Also, vmptrld should check whether a shadow vmcs > is being loaded

Re: [PATCH 4/4] nvmx: check for shadow vmcs check on entry

2016-07-21 Thread Paolo Bonzini
On 21/07/2016 00:25, Bandan Das wrote: > vmentry should check whether the vmcs provided by > the guest hypervisor is a shadow vmcs and fail. How can this happen, since vmptrld checks the revision_id as you said below? Paolo > Also, vmptrld should check whether a shadow vmcs > is being loaded

[PATCH 4/4] nvmx: check for shadow vmcs check on entry

2016-07-20 Thread Bandan Das
vmentry should check whether the vmcs provided by the guest hypervisor is a shadow vmcs and fail. Also, vmptrld should check whether a shadow vmcs is being loaded by the guest without support being present but this check happens as part of checking the revision_id. Signed-off-by: Bandan Das

[PATCH 4/4] nvmx: check for shadow vmcs check on entry

2016-07-20 Thread Bandan Das
vmentry should check whether the vmcs provided by the guest hypervisor is a shadow vmcs and fail. Also, vmptrld should check whether a shadow vmcs is being loaded by the guest without support being present but this check happens as part of checking the revision_id. Signed-off-by: Bandan Das ---