]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: export disk snapshot support in capabilities
authorFrancesco Romani <fromani@redhat.com>
Mon, 17 Mar 2014 15:19:44 +0000 (16:19 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 26 Mar 2014 12:41:25 +0000 (13:41 +0100)
commit85a3eb8a6d44e4501c00c9aeed0039ccaf29cdc5
tree8dfef1ead140080eceb2e48da85e5c26f1de03b2
parent97814d8ab342c18297c7b39f3b5c208cbc47b038
qemu: export disk snapshot support in capabilities

This patch adds an element to QEMU's capability XML, to
show if the underlying QEMU binary supports the live disk
snapshotting or not.
This allows any client to know ahead of time if the feature
is available.

Without this information available, the only way to check
for the snapshot support is to request one and check for
errors.

Signed-off-by: Francesco Romani <fromani@redhat.com>
docs/schemas/capability.rng
src/qemu/qemu_capabilities.c