Skip to content

KVM: x86: Minor emulator cleanup

Sean Christopherson 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 8 repliesIn review
  2. v13 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Rebase to kvm/queue, 2c2787938512 ("KVM: selftests: Stop ...")

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3KVM: x86: Add EMULTYPE_PF when emulation is triggered by a page faultarch/x86/include/asm/kvm_host.h arch/x86/kvm/mmu/mmu.c arch/x86/kvm/x86.c+30 -174 replies
2/3KVM: x86: Move gpa_val and gpa_available into the emulator contextarch/x86/include/asm/kvm_emulate.h arch/x86/include/asm/kvm_host.h arch/x86/kvm/x86.c+10 -110 replies
3/3KVM: x86: Move #PF retry tracking variables into emulation contextarch/x86/include/asm/kvm_emulate.h arch/x86/include/asm/kvm_host.h arch/x86/kvm/x86.c+10 -84 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] KVM: x86: Minor emulator cleanup

Three small patches to move emulator specific variables from 'struct kvm_vcpu_arch' to 'struct x86_emulate_ctxt'.

v2:
- Rebase to kvm/queue, 2c2787938512 ("KVM: selftests: Stop ...")

Sean Christopherson (3):
KVM: x86: Add EMULTYPE_PF when emulation is triggered by a page fault
KVM: x86: Move gpa_val and gpa_available into the emulator context
KVM: x86: Move #PF retry tracking variables into emulation context

 arch/x86/include/asm/kvm_emulate.h |  8 ++++++
 arch/x86/include/asm/kvm_host.h    | 19 ++++++-------
 arch/x86/kvm/mmu/mmu.c             | 10 ++-----
 arch/x86/kvm/x86.c                 | 45 +++++++++++++++++++-----------
 4 files changed, 48 insertions(+), 34 deletions(-)
Signature · 1 line
2.24.1