-
- Downloads
KVM: async_pf: Force a nested vmexit if the injected #PF is async_pf
Add an nested_apf field to vcpu->arch.exception to identify an async page fault, and constructs the expected vm-exit information fields. Force a nested VM exit from nested_vmx_check_exception() if the injected #PF is async page fault. Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Radim Krčmář <rkrcmar@redhat.com> Signed-off-by:Wanpeng Li <wanpeng.li@hotmail.com> Signed-off-by:
Radim Krčmář <rkrcmar@redhat.com>
Showing
- arch/x86/include/asm/kvm_emulate.h 1 addition, 0 deletionsarch/x86/include/asm/kvm_emulate.h
- arch/x86/include/asm/kvm_host.h 2 additions, 0 deletionsarch/x86/include/asm/kvm_host.h
- arch/x86/kvm/svm.c 10 additions, 6 deletionsarch/x86/kvm/svm.c
- arch/x86/kvm/vmx.c 14 additions, 3 deletionsarch/x86/kvm/vmx.c
- arch/x86/kvm/x86.c 8 additions, 1 deletionarch/x86/kvm/x86.c
Loading
Please register or sign in to comment