Re: [PATCH v2 0/2] INVD intercept change to skip instruction

2020-09-25 Thread Paolo Bonzini
On 24/09/20 23:20, Jim Mattson wrote: > On Thu, Sep 24, 2020 at 11:42 AM Tom Lendacky wrote: >> >> From: Tom Lendacky >> >> This series updates the INVD intercept support for both SVM and VMX to >> skip the instruction rather than emulating it, since emulation of this >> instruction is just a NOP

Re: [PATCH v2 0/2] INVD intercept change to skip instruction

2020-09-24 Thread Jim Mattson
On Thu, Sep 24, 2020 at 11:42 AM Tom Lendacky wrote: > > From: Tom Lendacky > > This series updates the INVD intercept support for both SVM and VMX to > skip the instruction rather than emulating it, since emulation of this > instruction is just a NOP. Isn't INVD a serializing instruction, where

[PATCH v2 0/2] INVD intercept change to skip instruction

2020-09-24 Thread Tom Lendacky
From: Tom Lendacky This series updates the INVD intercept support for both SVM and VMX to skip the instruction rather than emulating it, since emulation of this instruction is just a NOP. For SVM, it requires creating a dedicated INVD intercept routine that invokes kvm_skip_emulated_instruction(