mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
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;
|
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)
|
disk->mirrorJob == VIR_DOMAIN_BLOCK_JOB_TYPE_ACTIVE_COMMIT)
|
||||||
jobtype = disk->mirrorJob;
|
jobtype = disk->mirrorJob;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user