
19 Jan
2022
19 Jan
'22
5:09 a.m.
On Thu, Jan 13, 2022 at 06:47:39PM +0100, Ján Tomko wrote:
@@ -649,7 +643,6 @@ qemuDomainChangeEjectableMedia(virQEMUDriver *driver,
/* remove the old source from shared device list */ disk->src = oldsrc; - ignore_value(qemuRemoveSharedDisk(driver, disk, vm->def->name)); ignore_value(qemuDomainStorageSourceChainAccessRevoke(driver, vm, oldsrc));
I believe you should also drop the comment, the line where disk->src is set to oldsrc as well as the one a little bit below where it's set back to newsrc. -- Andrea Bolognani / Red Hat / Virtualization