aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorMaxim Levitsky <mlevitsk@redhat.com>2022-02-07 17:54:25 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2022-02-08 13:30:49 -0500
commit755c2bf878607dbddb1423df9abf16b82205896f (patch)
treeb29dc810558c473dc888ea38ef89870b90a09788 /tools/testing/selftests/bpf/prog_tests/autoload.c
parentKVM: x86: nSVM: deal with L1 hypervisor that intercepts interrupts but lets L2 control them (diff)
downloadwireguard-linux-755c2bf878607dbddb1423df9abf16b82205896f.tar.xz
wireguard-linux-755c2bf878607dbddb1423df9abf16b82205896f.zip
KVM: x86: lapic: don't touch irr_pending in kvm_apic_update_apicv when inhibiting it
kvm_apic_update_apicv is called when AVIC is still active, thus IRR bits can be set by the CPU after it is called, and don't cause the irr_pending to be set to true. Also logic in avic_kick_target_vcpu doesn't expect a race with this function so to make it simple, just keep irr_pending set to true and let the next interrupt injection to the guest clear it. Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com> Message-Id: <20220207155447.840194-9-mlevitsk@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions