KVM: fix spectrev1 gadgets
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 11 Apr 2019 09:16:47 +0000 (11:16 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Apr 2019 13:38:07 +0000 (15:38 +0200)
commit1d487e9bf8ba66a7174c56a0029c54b1eca8f99c
tree4916036d4dc25e9a52ba59105621ee42682ce844
parentbe43c440eb5d0ccfdb0d67d5a4c9d579ff988b75
KVM: fix spectrev1 gadgets

These were found with smatch, and then generalized when applicable.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c
include/linux/kvm_host.h
virt/kvm/irqchip.c
virt/kvm/kvm_main.c