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

From: Sean Christopherson
Date: Fri Nov 22 2019 - 17:58:47 EST


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

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.0