From: Peter Krempa Date: Fri, 24 Sep 2021 17:08:12 +0000 (+0200) Subject: qemu: capabilities: Introduce QEMU_CAPS_CHARDEV_JSON X-Git-Tag: v7.9.0-rc1~216 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a97c8f50e15cceef9b6605d83df3ffe27e8f721;p=thirdparty%2Flibvirt.git qemu: capabilities: Introduce QEMU_CAPS_CHARDEV_JSON The flag will be used to switch use of JSON arguments for -chardev once qemu will support it. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c index 85868d7596..b602f47c65 100644 --- a/src/qemu/qemu_capabilities.c +++ b/src/qemu/qemu_capabilities.c @@ -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 */ ); diff --git a/src/qemu/qemu_capabilities.h b/src/qemu/qemu_capabilities.h index 80e2d58dde..4980ac7829 100644 --- a/src/qemu/qemu_capabilities.h +++ b/src/qemu/qemu_capabilities.h @@ -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;