Re: [PATCH v2 0/3] vmx: miscellaneous cleanups

Paolo Bonzini
2016-08-04T12:21:22Z

On 02/08/2016 22:32, Bandan Das wrote:
> v1 posted here https://lkml.org/lkml/2016/7/20/605
>
> v2:
> 1/3 : Replacing BUG_ONs with WARN_ONs is not necessary
> 2/3 : No change
> 3/3 : Remove the kvm parameter from two other functions
> 4/3 : Removed, although the spec says to do it, it can't be triggered
>
> These are some very minor vmx cleanups.
> 2/4 is necessary for nested esx to be able to
> successfully launch a guest of its own. Without single context
> invalidation present, it just disables ept altogether.
>
> Bandan Das (3):
> nvmx: remove comment about missing nested vpid support
> nvmx: mark ept single context invalidation as supported
> mmu: don't pass *kvm to spte_write_protect and spte_*_dirty
>
> arch/x86/kvm/mmu.c | 12 ++++++------
> arch/x86/kvm/vmx.c | 15 +++++++--------
> 2 files changed, 13 insertions(+), 14 deletions(-)
>

Applied patches 1-2, while 3 will wait for 4.9.

Paolo