Re: [PATCH v3 2/4] KVM: X86: Fix loss of exception which has not yet injected

2018-01-09 Thread Haozhong Zhang
On 01/09/18 00:57 -0800, Liran Alon wrote: > > - haozhong.zh...@intel.com wrote: > > > On 01/07/18 00:26 -0700, Ross Zwisler wrote: > > > On Wed, Aug 23, 2017 at 10:21 PM, Wanpeng Li > > wrote: > > > > From: Wanpeng Li > > > > > > > >

Re: [PATCH v3 2/4] KVM: X86: Fix loss of exception which has not yet injected

2018-01-09 Thread Liran Alon
- haozhong.zh...@intel.com wrote: > On 01/07/18 00:26 -0700, Ross Zwisler wrote: > > On Wed, Aug 23, 2017 at 10:21 PM, Wanpeng Li > wrote: > > > From: Wanpeng Li > > > > > > vmx_complete_interrupts() assumes that the exception is always >

Re: [PATCH v3 2/4] KVM: X86: Fix loss of exception which has not yet injected

2018-01-08 Thread Haozhong Zhang
On 01/07/18 00:26 -0700, Ross Zwisler wrote: > On Wed, Aug 23, 2017 at 10:21 PM, Wanpeng Li wrote: > > From: Wanpeng Li > > > > vmx_complete_interrupts() assumes that the exception is always injected, > > so it would be dropped by

Re: [PATCH v3 2/4] KVM: X86: Fix loss of exception which has not yet injected

2018-01-06 Thread Ross Zwisler
On Wed, Aug 23, 2017 at 10:21 PM, Wanpeng Li wrote: > From: Wanpeng Li > > vmx_complete_interrupts() assumes that the exception is always injected, > so it would be dropped by kvm_clear_exception_queue(). This patch separates > exception.pending from