mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 20:45:18 +00: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;
|
||||
}
|
||||
|
||||
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…
x
Reference in New Issue
Block a user