backup: qemu: Wire up qemu full push backup commands over QMP
commitde2fa604ae50e0e7a0bb20521d4ddd728ce7edb1
authorEric Blake <eblake@redhat.com>
Wed, 13 Feb 2019 04:20:07 +0000 (12 22:20 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 22 Aug 2019 00:45:55 +0000 (21 19:45 -0500)
treeb77a33de9211bb8a873ed2213052be517d951689
parent65cf5783185309482e031eae60cae9d25e4308fe
backup: qemu: Wire up qemu full push backup commands over QMP

Update the code to support push backups; for now, the destination file
still has to be local, although the XML could be extended into
supporting remote destinations (where we will have to use the full
power of blockdev-add). This also touches up the event handling to
inform the user when the job is complete. (However, there are probably
bugs lurking in the event code; pull mode is more tested than push
mode at the time I write this).

Signed-off-by: Eric Blake <eblake@redhat.com>
src/qemu/qemu_driver.c