mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-08 20:51:26 +00:00
qemu: Don't miss errors when changing graphics passwords
Commit 23e8b5d8e7a92bac85b7fd2aca8992501bf680ee forgot to check the return value for all calls to qemuDomainChangeGraphicsPasswords().
This commit is contained in:
parent
350fd95f40
commit
556808ec9d
@ -2055,10 +2055,10 @@ qemuProcessInitPasswords(virConnectPtr conn,
|
|||||||
&graphics->data.spice.auth,
|
&graphics->data.spice.auth,
|
||||||
cfg->spicePassword);
|
cfg->spicePassword);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
}
|
||||||
|
|
||||||
if (virQEMUCapsGet(priv->qemuCaps, QEMU_CAPS_DEVICE)) {
|
if (virQEMUCapsGet(priv->qemuCaps, QEMU_CAPS_DEVICE)) {
|
||||||
for (i = 0; i < vm->def->ndisks; i++) {
|
for (i = 0; i < vm->def->ndisks; i++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user