[PATCH v2 0/3] KVM: x86: Minor emulator cleanup

From: Sean Christopherson
Date: Tue Feb 18 2020 - 18:03:13 EST


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(-)

--
2.24.1