[libvirt] [PATCHv2 5/9] qemu: monitor: Add support for 'job-cancel' command
Ján Tomko
jtomko at redhat.com
Fri Jul 12 15:07:30 UTC 2019
On Thu, Jul 11, 2019 at 06:26:16PM +0200, Peter Krempa wrote:
>This belongs to the new job management API which can manage also
>non-block based jobs. Since we'll need to be able to attempt to cancel
>jobs which potentially were not started (during reconnect) the 'quiet'
>flag allows to suppress errors reported.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
>This version allows cancelling jobs quietly which is required for
>weird-state cleanup during reconnect.
>
> src/qemu/qemu_monitor.c | 13 +++++++++++++
> src/qemu/qemu_monitor.h | 5 +++++
> src/qemu/qemu_monitor_json.c | 28 ++++++++++++++++++++++++++++
> src/qemu/qemu_monitor_json.h | 5 +++++
> tests/qemumonitorjsontest.c | 2 ++
> 5 files changed, 53 insertions(+)
>
Reviewed-by: Ján Tomko <jtomko at redhat.com>
Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190712/54044038/attachment-0001.sig>
More information about the libvir-list
mailing list