Messages in this thread | | | Subject | Re: [PATCH v6 3/4] KVM: async_pf: Force a nested vmexit if the injected #PF is async_pf | From | Paolo Bonzini <> | Date | Wed, 28 Jun 2017 14:56:15 +0200 |
| |
On 28/06/2017 14:25, Wanpeng Li wrote: > From: Wanpeng Li <wanpeng.li@hotmail.com> > > 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. Extending the userspace interface KVM_GET_VCPU_EVENTS > and KVM_SET_VCPU_EVENTS for live migration. > > Cc: Paolo Bonzini <pbonzini@redhat.com> > Cc: Radim Krčmář <rkrcmar@redhat.com> > Signed-off-by: Wanpeng Li <wanpeng.li@hotmail.com> > ---
Radim, Wanpeng,
the patch is nice now but I'm still not 100% sure about the live migration part. Why do we need to pass nested_apf to userspace, but not nested_apf_token?
Paolo
| |