[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <293c4524-5869-2d3f-e0a3-92bde4430b81@redhat.com>
Date: Wed, 28 Jun 2017 14:56:15 +0200
From: Paolo Bonzini <pbonzini@...hat.com>
To: Wanpeng Li <kernellwp@...il.com>, linux-kernel@...r.kernel.org,
kvm@...r.kernel.org
Cc: Radim Krčmář <rkrcmar@...hat.com>,
Wanpeng Li <wanpeng.li@...mail.com>
Subject: Re: [PATCH v6 3/4] KVM: async_pf: Force a nested vmexit if the
injected #PF is async_pf
On 28/06/2017 14:25, Wanpeng Li wrote:
> From: Wanpeng Li <wanpeng.li@...mail.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@...hat.com>
> Cc: Radim Krčmář <rkrcmar@...hat.com>
> Signed-off-by: Wanpeng Li <wanpeng.li@...mail.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
Powered by blists - more mailing lists