qemu: blockjob: Introduce "broken" block job type

To better track jobs we couldn't parse let's introduce a new job type
which will clarify semantics internally in few places.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Peter Krempa
2019-11-27 15:59:33 +01:00
parent 2624c6d2d2
commit e67e8c545a
5 changed files with 41 additions and 2 deletions
@@ -300,6 +300,7 @@
</source>
</src>
</blockjob>
<blockjob name='broken-test' type='broken' state='ready' brokentype='commit'/>
<blockjob name='test-orphan-job0' type='copy' state='ready'>
<chains>
<disk type='file' format='qcow2'>