]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Introduce qemuProcessHandleDumpCompleted
authorJohn Ferlan <jferlan@redhat.com>
Mon, 20 Nov 2017 14:51:22 +0000 (09:51 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 6 Feb 2018 12:37:32 +0000 (07:37 -0500)
commit3455a7359ce35093b6443e6cd5ce636d628b0317
treeab98b492fb265cbbdcaba346528f2d3a78e89b75
parentfd1a9e5c56653c530fc5e9990acb49176d983992
qemu: Introduce qemuProcessHandleDumpCompleted

Handle a DUMP_COMPLETED event processing the status, stats, and
error string. Use the @status in order to copy the error that
was generated whilst processing the @stats data. If an error was
provided by QEMU, then use that instead.

If there's no async job, we can just ignore the data.

Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_process.c