Skip to content

Version 0.39

Compare
Choose a tag to compare
@abbbi abbbi released this 17 Dec 13:21
· 26 commits to master since this release

Version 0.39

This version contains an important Bugfix!

The backup function would use an while loop to report the backup job progress. This loop would exit in
case no jobs are returned by the query-block-jobs QMP command. The final state of the block job operation
was not handled in these cases and the backup utility could miss situations where the block job failed
with BLOCK_JOB_ERROR or BOCK_JOB_CANCELLED:

This version moves the progress function to a seperate asyncio task so qemu events will be catched in all
cases:

 INFO  Block job [qmpbackup.snapshot.snapshot.qcow2] finished
 INFO  Block job [qmpbackup.ide0-hd1.disk2.qcow2] finished
 CRITICAL  Error executing backup: Block job failed for device [qmpbackup.ide0-hd0.disk1.qcow2]: [BLOCK_JOB_CANCELLED]
 INFO  Removing backup target devices from virtual machine