]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu: capabilities: Introduce QEMU_CAPS_CHARDEV_JSON
authorPeter Krempa <pkrempa@redhat.com>
Fri, 24 Sep 2021 17:08:12 +0000 (19:08 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 12 Oct 2021 08:26:00 +0000 (10:26 +0200)
The flag will be used to switch use of JSON arguments for -chardev once
qemu will support it.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h

index 85868d7596f7a322d9c50d2d571c755a1030087a..b602f47c6586068f4517fbd4c767655431d85807 100644 (file)
@@ -646,6 +646,9 @@ VIR_ENUM_IMPL(virQEMUCaps,
               "piix4.acpi-root-pci-hotplug", /* QEMU_CAPS_PIIX4_ACPI_ROOT_PCI_HOTPLUG */
               "ich9.acpi-hotplug-bridge", /* QEMU_CAPS_ICH9_ACPI_HOTPLUG_BRIDGE */
               "netdev.json", /* QEMU_CAPS_NETDEV_JSON */
+
+              /* 415 */
+              "chardev.json", /* QEMU_CAPS_CHARDEV_JSON */
     );
 
 
index 80e2d58dde3a68370ab75b496aa60be5db9491c5..4980ac7829a74696fec1bb6e49c0ab9e0e7e77eb 100644 (file)
@@ -627,6 +627,9 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
     QEMU_CAPS_ICH9_ACPI_HOTPLUG_BRIDGE, /* -M q35 ICH9-LPC.acpi-pci-hotplug-with-bridge-support */
     QEMU_CAPS_NETDEV_JSON, /* -netdev accepts JSON */
 
+    /* 415 */
+    QEMU_CAPS_CHARDEV_JSON, /* -chardev accepts JSON */
+
     QEMU_CAPS_LAST /* this must always be the last item */
 } virQEMUCapsFlags;