[libvirt] [PATCH 1/2] Delete QEMU_CAPS_KQEMU and QEMU_CAPS_ENABLE_KQEMU

Ján Tomko jtomko at redhat.com
Wed Apr 3 08:51:30 UTC 2019


Support for kqemu was dropped in libvirt by commit 8e91a400c and even
back then we never set these capabilities when doing QMP probing.

Since no QEMU we aim to support has these, drop them completely.

Signed-off-by: Ján Tomko <jtomko at redhat.com>
---
 src/qemu/qemu_capabilities.c | 2 --
 src/qemu/qemu_capabilities.h | 2 --
 2 files changed, 4 deletions(-)

diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
index 56228e7a36..eff889e5d8 100644
--- a/src/qemu/qemu_capabilities.c
+++ b/src/qemu/qemu_capabilities.c
@@ -64,7 +64,6 @@ VIR_LOG_INIT("qemu.qemu_capabilities");
  */
 VIR_ENUM_IMPL(virQEMUCaps, QEMU_CAPS_LAST,
               /* 0 */
-              "kqemu",
               "vnc-colon",
               "no-reboot",
               "drive",
@@ -117,7 +116,6 @@ VIR_ENUM_IMPL(virQEMUCaps, QEMU_CAPS_LAST,
               "pci-configfd",
               "nodefconfig",
               "boot-menu",
-              "enable-kqemu",
 
               /* 40 */
               "fsdev",
diff --git a/src/qemu/qemu_capabilities.h b/src/qemu/qemu_capabilities.h
index 06c7606e2f..25c26ddbaf 100644
--- a/src/qemu/qemu_capabilities.h
+++ b/src/qemu/qemu_capabilities.h
@@ -46,7 +46,6 @@
  */
 typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
     /* 0 */
-    X_QEMU_CAPS_KQEMU, /* Whether KQEMU is compiled in */
     X_QEMU_CAPS_VNC_COLON, /* VNC takes or address + display */
     X_QEMU_CAPS_NO_REBOOT, /* Is the -no-reboot flag available */
     X_QEMU_CAPS_DRIVE, /* Is the new -drive arg available */
@@ -99,7 +98,6 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
     X_QEMU_CAPS_PCI_CONFIGFD, /* pci-assign.configfd */
     X_QEMU_CAPS_NODEFCONFIG, /* -nodefconfig */
     X_QEMU_CAPS_BOOT_MENU, /* -boot menu=on support */
-    X_QEMU_CAPS_ENABLE_KQEMU, /* -enable-kqemu flag */
 
     /* 40 */
     X_QEMU_CAPS_FSDEV, /* -fstype filesystem passthrough */
-- 
2.19.2




More information about the libvir-list mailing list