mirror of https://gitee.com/openkylin/libvirt.git
qemu: process: Use enum belonging to correct type
GCC was unhappy about comparison between two distinct enum types. Use the correct value instead. Signed-off-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
4ab8447af7
commit
b70fb35d81
|
@ -7835,7 +7835,7 @@ qemuProcessRefreshLegacyBlockjob(void *payload,
|
|||
return 0;
|
||||
}
|
||||
|
||||
if (jobtype == VIR_DOMAIN_BLOCK_JOB_TYPE_COMMIT &&
|
||||
if (jobtype == QEMU_BLOCKJOB_TYPE_COMMIT &&
|
||||
disk->mirrorJob == VIR_DOMAIN_BLOCK_JOB_TYPE_ACTIVE_COMMIT)
|
||||
jobtype = disk->mirrorJob;
|
||||
|
||||
|
|
Loading…
Reference in New Issue