mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 07:17:44 +00:00
qemu: Use correct type when calling qemuPrepareNVRAM
qemuProcessStart was passing char * migrateFrom as the third argument to qemuPrepareNVRAM. We should explicitly convert the pointer to bool which is what the function expects. Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
parent
d5fbe4542a
commit
b33c33b7d5
@ -4428,7 +4428,7 @@ int qemuProcessStart(virConnectPtr conn,
|
|||||||
* Fill them in prior to setting the domain def as transient. */
|
* Fill them in prior to setting the domain def as transient. */
|
||||||
VIR_DEBUG("Generating paths");
|
VIR_DEBUG("Generating paths");
|
||||||
|
|
||||||
if (qemuPrepareNVRAM(cfg, vm, migrateFrom) < 0)
|
if (qemuPrepareNVRAM(cfg, vm, !!migrateFrom) < 0)
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|
||||||
/* Do this upfront, so any part of the startup process can add
|
/* Do this upfront, so any part of the startup process can add
|
||||||
|
Loading…
Reference in New Issue
Block a user