lkml.org 
[lkml]   [2017]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v6 3/4] KVM: async_pf: Force a nested vmexit if the injected #PF is async_pf
From
Date


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

\
 
 \ /
  Last update: 2017-06-28 14:56    [W:0.456 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site