summary refs log tree commit diff stats
path: root/util/qemu-coroutine-io.c
diff options
context:
space:
mode:
authorPeter Krempa <pkrempa@redhat.com>2019-10-18 10:14:54 +0200
committerMarkus Armbruster <armbru@redhat.com>2019-10-22 13:54:14 +0200
commit5f76a7aac156ca75680dad5df4a385fd0b58f6b1 (patch)
treeb58eb52e5d921b4b2ad29ef941c1922034fb07c3 /util/qemu-coroutine-io.c
parent79598c8a634c21de9ac7b5a04c03bf4f13967191 (diff)
downloadfocaccia-qemu-5f76a7aac156ca75680dad5df4a385fd0b58f6b1.tar.gz
focaccia-qemu-5f76a7aac156ca75680dad5df4a385fd0b58f6b1.zip
qapi: Allow introspecting fix for savevm's cooperation with blockdev
'savevm' was buggy as it considered all monitor-owned block device
nodes for snapshot. With the introduction of -blockdev, the common
usage made all nodes including protocol and backing file nodes be
monitor-owned and thus considered for snapshot.

This is a problem since the 'file' protocol nodes can't have internal
snapshots and it does not make sense to take snapshot of nodes
representing backing files.

This was fixed by commit 05f4aced658a02b02. Clients need to be able to
detect whether this fix is present.

Since savevm does not have an QMP alternative, add the feature for the
'human-monitor-command' backdoor which is used to call this command in
modern use.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20191018081454.21369-6-armbru@redhat.com>
Diffstat (limited to 'util/qemu-coroutine-io.c')
0 files changed, 0 insertions, 0 deletions