Re: [PATCH] X86/KVM: Update the exit_qualification access bits while walking an address

2018-03-12 Thread Raslan, KarimAllah
On Mon, 2018-03-12 at 08:52 +, Raslan, KarimAllah wrote: > On Sun, 2018-03-04 at 10:17 +, Raslan, KarimAllah wrote: > > > > On Fri, 2018-03-02 at 18:41 +0100, Paolo Bonzini wrote: > > > > > > > > > On 28/02/2018 19:06, KarimAllah Ahmed wrote: > > > > > > > > > > > > > > > > ... to

Re: [PATCH] X86/KVM: Update the exit_qualification access bits while walking an address

2018-03-12 Thread Raslan, KarimAllah
On Mon, 2018-03-12 at 08:52 +, Raslan, KarimAllah wrote: > On Sun, 2018-03-04 at 10:17 +, Raslan, KarimAllah wrote: > > > > On Fri, 2018-03-02 at 18:41 +0100, Paolo Bonzini wrote: > > > > > > > > > On 28/02/2018 19:06, KarimAllah Ahmed wrote: > > > > > > > > > > > > > > > > ... to

Re: [PATCH] X86/KVM: Update the exit_qualification access bits while walking an address

2018-03-12 Thread Raslan, KarimAllah
On Sun, 2018-03-04 at 10:17 +, Raslan, KarimAllah wrote: > On Fri, 2018-03-02 at 18:41 +0100, Paolo Bonzini wrote: > > > > On 28/02/2018 19:06, KarimAllah Ahmed wrote: > > > > > > > > > ... to avoid having a stale value when handling an EPT misconfig for MMIO > > > regions. > > > > > >

Re: [PATCH] X86/KVM: Update the exit_qualification access bits while walking an address

2018-03-12 Thread Raslan, KarimAllah
On Sun, 2018-03-04 at 10:17 +, Raslan, KarimAllah wrote: > On Fri, 2018-03-02 at 18:41 +0100, Paolo Bonzini wrote: > > > > On 28/02/2018 19:06, KarimAllah Ahmed wrote: > > > > > > > > > ... to avoid having a stale value when handling an EPT misconfig for MMIO > > > regions. > > > > > >

Re: [PATCH] X86/KVM: Update the exit_qualification access bits while walking an address

2018-03-04 Thread Raslan, KarimAllah
On Fri, 2018-03-02 at 18:41 +0100, Paolo Bonzini wrote: > On 28/02/2018 19:06, KarimAllah Ahmed wrote: > > > > ... to avoid having a stale value when handling an EPT misconfig for MMIO > > regions. > > > > MMIO regions that are not passed-through to the guest are handled through > > EPT

Re: [PATCH] X86/KVM: Update the exit_qualification access bits while walking an address

2018-03-04 Thread Raslan, KarimAllah
On Fri, 2018-03-02 at 18:41 +0100, Paolo Bonzini wrote: > On 28/02/2018 19:06, KarimAllah Ahmed wrote: > > > > ... to avoid having a stale value when handling an EPT misconfig for MMIO > > regions. > > > > MMIO regions that are not passed-through to the guest are handled through > > EPT

Re: [PATCH] X86/KVM: Update the exit_qualification access bits while walking an address

2018-03-02 Thread Paolo Bonzini
On 28/02/2018 19:06, KarimAllah Ahmed wrote: > ... to avoid having a stale value when handling an EPT misconfig for MMIO > regions. > > MMIO regions that are not passed-through to the guest are handled through > EPT misconfigs. The first time a certain MMIO page is touched it causes an > EPT

Re: [PATCH] X86/KVM: Update the exit_qualification access bits while walking an address

2018-03-02 Thread Paolo Bonzini
On 28/02/2018 19:06, KarimAllah Ahmed wrote: > ... to avoid having a stale value when handling an EPT misconfig for MMIO > regions. > > MMIO regions that are not passed-through to the guest are handled through > EPT misconfigs. The first time a certain MMIO page is touched it causes an > EPT

[PATCH] X86/KVM: Update the exit_qualification access bits while walking an address

2018-02-28 Thread KarimAllah Ahmed
... to avoid having a stale value when handling an EPT misconfig for MMIO regions. MMIO regions that are not passed-through to the guest are handled through EPT misconfigs. The first time a certain MMIO page is touched it causes an EPT violation, then KVM marks the EPT entry to cause an EPT

[PATCH] X86/KVM: Update the exit_qualification access bits while walking an address

2018-02-28 Thread KarimAllah Ahmed
... to avoid having a stale value when handling an EPT misconfig for MMIO regions. MMIO regions that are not passed-through to the guest are handled through EPT misconfigs. The first time a certain MMIO page is touched it causes an EPT violation, then KVM marks the EPT entry to cause an EPT