]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: prepare blockjob complete event error usage
authorNikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
Fri, 27 Oct 2017 12:37:22 +0000 (15:37 +0300)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 6 Dec 2017 11:43:57 +0000 (12:43 +0100)
commitbc444666f7e74bf1803017dc5c6fa342594c911d
treedb4ffd19b58567f2534804a1a641644e6bdf323d
parent7993554f70fd8d512dfde484490bcd1601b60b33
qemu: prepare blockjob complete event error usage

This patch pass event error up to the place where we can
use it. Error is passed only for sync blockjob event mode
as we can't use the error in async mode. In async mode we
just pass the event details to the client thru event API
but current blockjob event API can not carry extra parameter.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/qemu/qemu_blockjob.c
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.c
src/qemu/qemu_process.c