]> git.ipfire.org Git - thirdparty/libvirt.git/commit
snapshot: add qemu capability for 'transaction' command
authorEric Blake <eblake@redhat.com>
Wed, 14 Mar 2012 22:29:21 +0000 (16:29 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 23 Mar 2012 22:38:19 +0000 (16:38 -0600)
commit311357d9e3441ac7a2252496c19951861ffbbbef
tree2876a67062936a63fb955c4433eeafc247874b51
parent98ada9ab70f28bc492da7a9913666cdb9d2c1915
snapshot: add qemu capability for 'transaction' command

We need a capability bit to gracefully error out if some of the
additions in future patches can't be implemented by the running qemu.

* src/qemu/qemu_capabilities.h (QEMU_CAPS_TRANSACTION): New cap.
* src/qemu/qemu_capabilities.c (qemuCaps): Name it.
* src/qemu/qemu_monitor_json.c (qemuMonitorJSONCheckCommands): Set
it.
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
src/qemu/qemu_monitor_json.c