kvm: require KVM_CAP_SIGNAL_MSI
This was introduced in KVM in Linux 3.5, we can require it unconditionally
in kvm_irqchip_send_msi(). However, not all architectures have to implement
it so check it only in x86, the only architecture that ever had MSI injection
but not KVM_CAP_SIGNAL_MSI.
ARM uses it to detect the presence of the ITS emulation in the kernel,
introduced in Linux 4.8. Assume that it's there and possibly fail when
realizing the arm-its-kvm device.
Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
Showing
- accel/kvm/kvm-all.c 7 additions, 95 deletionsaccel/kvm/kvm-all.c
- accel/stubs/kvm-stub.c 0 additions, 1 deletionaccel/stubs/kvm-stub.c
- hw/intc/arm_gicv3_its_common.c 1 addition, 2 deletionshw/intc/arm_gicv3_its_common.c
- include/sysemu/kvm.h 0 additions, 9 deletionsinclude/sysemu/kvm.h
- include/sysemu/kvm_int.h 0 additions, 1 deletioninclude/sysemu/kvm_int.h
- target/i386/kvm/kvm.c 1 addition, 0 deletionstarget/i386/kvm/kvm.c
Loading
Please register or sign in to comment