mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
qemu: capabilities: Introduce QEMU_CAPS_DEVICE_JSON
The flag will be used to switch use of JSON arguments for -device once qemu will support it. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
1a97c8f50e
commit
7c48fa2f58
@ -649,6 +649,7 @@ VIR_ENUM_IMPL(virQEMUCaps,
|
||||
|
||||
/* 415 */
|
||||
"chardev.json", /* QEMU_CAPS_CHARDEV_JSON */
|
||||
"device.json", /* QEMU_CAPS_DEVICE_JSON */
|
||||
);
|
||||
|
||||
|
||||
|
@ -629,6 +629,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
|
||||
|
||||
/* 415 */
|
||||
QEMU_CAPS_CHARDEV_JSON, /* -chardev accepts JSON */
|
||||
QEMU_CAPS_DEVICE_JSON, /* -device accepts JSON */
|
||||
|
||||
QEMU_CAPS_LAST /* this must always be the last item */
|
||||
} virQEMUCapsFlags;
|
||||
|
Loading…
Reference in New Issue
Block a user