Re: [PATCH v6 3/4] KVM: async_pf: Force a nested vmexit if the injected #PF is async_pf
From: Paolo Bonzini
Date: Wed Jun 28 2017 - 10:20:58 EST
On 28/06/2017 16:17, Wanpeng Li wrote:
>> If for now we can leave out the GET/SET_VCPU_EVENTS changes, that would
>> be best. nested_apf and nested_apf_token should be migrated together
>> with the rest of the nested virt state.
> Radim explains why we at least needs nested_apf here:
>
>> nested_apf is not #PF: if we didn't pass nested_apf, then the exception would be injected as #PF to L2 after migration.
Yes, but migration of a L1 hypervisor is broken anyway.
> Do you mean we can ignore it here and depends on Jim's patches to
> completely handle it?
Ignore it here, remember it when someone picks up Jim's patches, and
also serialize nested_apf_token.
Paolo