Re: [PATCH RFC] KVM: async_pf: fix async_pf exception injection

From: Wanpeng Li
Date: Fri Jun 09 2017 - 01:30:32 EST


2017-06-08 19:52 GMT+08:00 Paolo Bonzini <pbonzini@xxxxxxxxxx>:
>
> 3) add an async_page_fault member to vcpu->arch.exception

Do you think we should also add an async_page_fault field to
x86_exception, then pass down to kvm_inject_page_fault() through
x86_exception? Maybe we should modify
kvm_queue_exception_e/kvm_multiple_exception etc to add an function
parameter for async_page_fault.

Regards,
Wanpeng Li