Re: [PATCH] KVM: x86: remove duplicated KVM_REQ_EVENT request

From: Paolo Bonzini
Date: Wed Feb 12 2020 - 06:49:35 EST


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.

Paolo