[PATCH 1/4] qemu-kvm: Drop unused kvm_clear_gsi_routes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



No users remaining.

Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxxxxxxx>
---
 qemu-kvm.c |   10 ----------
 qemu-kvm.h |    9 ---------
 2 files changed, 0 insertions(+), 19 deletions(-)

diff --git a/qemu-kvm.c b/qemu-kvm.c
index a55a577..3d2734c 100644
--- a/qemu-kvm.c
+++ b/qemu-kvm.c
@@ -98,16 +98,6 @@ int kvm_deassign_pci_device(KVMState *s,
 }
 #endif
 
-int kvm_clear_gsi_routes(void)
-{
-#ifdef KVM_CAP_IRQ_ROUTING
-    kvm_state->irq_routes->nr = 0;
-    return 0;
-#else
-    return -EINVAL;
-#endif
-}
-
 int kvm_del_routing_entry(struct kvm_irq_routing_entry *entry)
 {
 #ifdef KVM_CAP_IRQ_ROUTING
diff --git a/qemu-kvm.h b/qemu-kvm.h
index 3084158..1f2380b 100644
--- a/qemu-kvm.h
+++ b/qemu-kvm.h
@@ -81,15 +81,6 @@ int kvm_deassign_pci_device(KVMState *s,
                             struct kvm_assigned_pci_dev *assigned_dev);
 
 /*!
- * \brief Clears the temporary irq routing table
- *
- * Clears the temporary irq routing table.  Nothing is committed to the
- * running VM.
- *
- */
-int kvm_clear_gsi_routes(void);
-
-/*!
  * \brief Removes an irq route from the temporary irq routing table
  *
  * Adds an irq route to the temporary irq routing table.  Nothing is
-- 
1.7.3.4

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux