]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
kvm: drop reference to KVM_CAP_PCI_2_3
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 18 Oct 2023 10:11:34 +0000 (12:11 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 25 Oct 2023 15:35:15 +0000 (17:35 +0200)
This is a remnant of pre-VFIO device assignment; it is not defined
anymore by Linux and not used by QEMU.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
accel/kvm/kvm-all.c
include/sysemu/kvm.h
include/sysemu/kvm_int.h

index be50d47f7b4307a5517d9c44ab89fa9932bd4119..50717a0d634781a6c7fa8e6dc6021395871d8c9f 100644 (file)
@@ -2576,8 +2576,6 @@ static int kvm_init(MachineState *ms)
 
     s->max_nested_state_len = kvm_check_extension(s, KVM_CAP_NESTED_STATE);
 
-    s->intx_set_mask = kvm_check_extension(s, KVM_CAP_PCI_2_3);
-
     s->irq_set_ioctl = KVM_IRQ_LINE;
     if (kvm_check_extension(s, KVM_CAP_IRQ_INJECT_STATUS)) {
         s->irq_set_ioctl = KVM_IRQ_LINE_STATUS;
@@ -3237,11 +3235,6 @@ int kvm_has_gsi_routing(void)
 #endif
 }
 
-int kvm_has_intx_set_mask(void)
-{
-    return kvm_state->intx_set_mask;
-}
-
 bool kvm_arm_supports_user_irq(void)
 {
     return kvm_check_extension(kvm_state, KVM_CAP_ARM_USER_IRQ);
index 16d58d2598a78eafbbc494cb19148c21fffdb269..bcc9bd96a928444eb7c4f8bdbf1a748ad1c8e2f0 100644 (file)
@@ -216,7 +216,6 @@ int kvm_has_debugregs(void);
 int kvm_max_nested_state_length(void);
 int kvm_has_many_ioeventfds(void);
 int kvm_has_gsi_routing(void);
-int kvm_has_intx_set_mask(void);
 
 /**
  * kvm_arm_supports_user_irq
index a7dacd12d6c9e53e978c269988e32948b37d3331..817238b9582bdf1bc39ed60fdf1efa8e85268b2c 100644 (file)
@@ -85,7 +85,6 @@ struct KVMState
 #endif
     int max_nested_state_len;
     int many_ioeventfds;
-    int intx_set_mask;
     int kvm_shadow_mem;
     bool kernel_irqchip_allowed;
     bool kernel_irqchip_required;