Re: [PATCH] KVM: x86: remove duplicated KVM_REQ_EVENT request
From: linmiaohe
Date: Wed Feb 12 2020 - 07:40:44 EST
Paolo Bonzini <pbonzini@xxxxxxxxxx> write:
> On 07/02/20 10:05, Vitaly Kuznetsov wrote:
>> kvm_make_request() from kvm_set_rflags() as it is not an obvious
>> behavior (e.g. why kvm_rip_write() doens't do that and
>> kvm_set_rflags() does ?)
>
>Because writing RFLAGS can change IF and therefore cause an interrupt to be injected.
>
Many thanks for your explanation. :) I thought it was because of Trap Flag.