[PATCH v2 7/9] qemu-kvm: Drop unused kvm_get/set_irqchip

[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 |   28 ----------------------------
 qemu-kvm.h |   23 -----------------------
 2 files changed, 0 insertions(+), 51 deletions(-)

diff --git a/qemu-kvm.c b/qemu-kvm.c
index 8f1b760..10a313d 100644
--- a/qemu-kvm.c
+++ b/qemu-kvm.c
@@ -71,34 +71,6 @@ int kvm_set_irq(int irq, int level, int *status)
     return 1;
 }
 
-int kvm_get_irqchip(KVMState *s, struct kvm_irqchip *chip)
-{
-    int r;
-
-    if (!s->irqchip_in_kernel) {
-        return 0;
-    }
-    r = kvm_vm_ioctl(s, KVM_GET_IRQCHIP, chip);
-    if (r < 0) {
-        perror("kvm_get_irqchip\n");
-    }
-    return r;
-}
-
-int kvm_set_irqchip(KVMState *s, struct kvm_irqchip *chip)
-{
-    int r;
-
-    if (!s->irqchip_in_kernel) {
-        return 0;
-    }
-    r = kvm_vm_ioctl(s, KVM_SET_IRQCHIP, chip);
-    if (r < 0) {
-        perror("kvm_set_irqchip\n");
-    }
-    return r;
-}
-
 #endif
 
 #ifdef KVM_CAP_DEVICE_ASSIGNMENT
diff --git a/qemu-kvm.h b/qemu-kvm.h
index cd5e3cc..433e2fe 100644
--- a/qemu-kvm.h
+++ b/qemu-kvm.h
@@ -32,29 +32,6 @@
 
 #include "kvm.h"
 
-/*!
- * \brief Dump in kernel IRQCHIP contents
- *
- * Dump one of the in kernel irq chip devices, including PIC (master/slave)
- * and IOAPIC into a kvm_irqchip structure
- *
- * \param kvm Pointer to the current kvm_context
- * \param chip The irq chip device to be dumped
- */
-int kvm_get_irqchip(KVMState *s, struct kvm_irqchip *chip);
-
-/*!
- * \brief Set in kernel IRQCHIP contents
- *
- * Write one of the in kernel irq chip devices, including PIC (master/slave)
- * and IOAPIC
- *
- *
- * \param kvm Pointer to the current kvm_context
- * \param chip THe irq chip device to be written
- */
-int kvm_set_irqchip(KVMState *s, struct kvm_irqchip *chip);
-
 #if defined(__i386__) || defined(__x86_64__)
 /*!
  * \brief Get in kernel local APIC for vcpu
-- 
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