mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
qemu: capabilities: Enable detection of QEMU_CAPS_BLOCKDEV_REOPEN
Base it on the presence of the "blockdev-reopen" QMP command. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
4ea9df4dad
commit
b04e1fddf7
@ -1182,6 +1182,7 @@ struct virQEMUCapsStringFlags virQEMUCapsCommands[] = {
|
||||
{ "query-cpu-model-comparison", QEMU_CAPS_QUERY_CPU_MODEL_COMPARISON },
|
||||
{ "block-export-add", QEMU_CAPS_BLOCK_EXPORT_ADD },
|
||||
{ "query-display-options", QEMU_CAPS_QUERY_DISPLAY_OPTIONS },
|
||||
{ "blockdev-reopen", QEMU_CAPS_BLOCKDEV_REOPEN },
|
||||
};
|
||||
|
||||
struct virQEMUCapsStringFlags virQEMUCapsMigration[] = {
|
||||
|
@ -216,7 +216,7 @@
|
||||
<vmcoreinfo supported='yes'/>
|
||||
<genid supported='yes'/>
|
||||
<backingStoreInput supported='yes'/>
|
||||
<backup supported='no'/>
|
||||
<backup supported='yes'/>
|
||||
<sev supported='no'/>
|
||||
</features>
|
||||
</domainCapabilities>
|
||||
|
@ -219,7 +219,7 @@
|
||||
<vmcoreinfo supported='yes'/>
|
||||
<genid supported='yes'/>
|
||||
<backingStoreInput supported='yes'/>
|
||||
<backup supported='no'/>
|
||||
<backup supported='yes'/>
|
||||
<sev supported='no'/>
|
||||
</features>
|
||||
</domainCapabilities>
|
||||
|
@ -216,7 +216,7 @@
|
||||
<vmcoreinfo supported='yes'/>
|
||||
<genid supported='yes'/>
|
||||
<backingStoreInput supported='yes'/>
|
||||
<backup supported='no'/>
|
||||
<backup supported='yes'/>
|
||||
<sev supported='no'/>
|
||||
</features>
|
||||
</domainCapabilities>
|
||||
|
@ -206,6 +206,7 @@
|
||||
<flag name='dbus-vmstate'/>
|
||||
<flag name='vhost-user-gpu'/>
|
||||
<flag name='vhost-user-vga'/>
|
||||
<flag name='incremental-backup'/>
|
||||
<flag name='ramfb'/>
|
||||
<flag name='blockdev-file-dynamic-auto-read-only'/>
|
||||
<flag name='savevm-monitor-nodes'/>
|
||||
@ -217,6 +218,7 @@
|
||||
<flag name='vhost-user-fs'/>
|
||||
<flag name='query-named-block-nodes.flat'/>
|
||||
<flag name='blockdev-snapshot.allow-write-only-overlay'/>
|
||||
<flag name='blockdev-reopen'/>
|
||||
<flag name='storage.werror'/>
|
||||
<flag name='fsdev.multidevs'/>
|
||||
<flag name='virtio.packed'/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user