mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05:00
qemu: Don't miss errors when changing graphics passwords
Commit 23e8b5d8e7 forgot to check the
return value for all calls to qemuDomainChangeGraphicsPasswords().
This commit is contained in:
1 parent
350fd95f40
commit
556808ec9d
1 file changed
+3
-3
@@ -2055,10 +2055,10 @@ qemuProcessInitPasswords(virConnectPtr conn,
|
||||
&graphics->data.spice.auth,
|
||||
cfg->spicePassword);
|
||||
}
|
||||
}
|
||||
|
||||
if (ret < 0)
|
||||
goto cleanup;
|
||||
if (ret < 0)
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
if (virQEMUCapsGet(priv->qemuCaps, QEMU_CAPS_DEVICE)) {
|
||||
for (i = 0; i < vm->def->ndisks; i++) {
|
||||
|
||||
Reference in new issue
Block a user