Skip to content

vmx: miscellaneous cleanups

Bandan Das kvm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v14 patches 8 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3nvmx: remove comment about missing nested vpid supportarch/x86/kvm/vmx.c+0 -10 replies
2/3nvmx: mark ept single context invalidation as supportedarch/x86/kvm/vmx.c+7 -70 replies
3/3mmu: don't pass *kvm to spte_write_protect and spte_*_dirtyarch/x86/kvm/mmu.c+6 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] vmx: miscellaneous cleanups

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(-)
Signature · 1 line
2.5.5