[libvirt] [PATCH 1/2] blockjob: manage qemu block-commit monitor command
Michal Privoznik
mprivozn at redhat.com
Fri Oct 5 14:00:29 UTC 2012
On 04.10.2012 16:44, Eric Blake wrote:
> qemu 1.3 will be adding a 'block-commit' monitor command, per
> https://lists.gnu.org/archive/html/qemu-devel/2012-09/msg05199.html
> It matches nicely to the libvirt API virDomainBlockCommit.
>
> * src/qemu/qemu_capabilities.h (QEMU_CAPS_BLOCK_COMMIT): New bit.
> * src/qemu/qemu_capabilities.c (qemuCapsProbeQMPCommands): Set it.
> * src/qemu/qemu_monitor.h (qemuMonitorBlockCommit): New prototype.
> * src/qemu/qemu_monitor_json.h (qemuMonitorJSONBlockCommit):
> Likewise.
> * src/qemu/qemu_monitor.c (qemuMonitorBlockCommit): Implement it.
> * src/qemu/qemu_monitor_json.c (qemuMonitorJSONBlockCommit):
> Likewise.
> (qemuMonitorJSONHandleBlockJobImpl)
> (emuMonitorJSONGetBlockJobInfoOne): Handle new event type.
> ---
> src/qemu/qemu_capabilities.c | 3 +++
> src/qemu/qemu_capabilities.h | 1 +
> src/qemu/qemu_monitor.c | 30 ++++++++++++++++++++++++++++++
> src/qemu/qemu_monitor.h | 7 +++++++
> src/qemu/qemu_monitor_json.c | 34 ++++++++++++++++++++++++++++++++++
> src/qemu/qemu_monitor_json.h | 7 +++++++
> 6 files changed, 82 insertions(+)
>
Looks good.
More information about the libvir-list
mailing list