Our code calls it when starting or re-starting the domain or when
hotplugging the disk so there's nothing to be detected.
goto endjob;
}
- if (qemuDomainDetermineDiskChain(driver, vm, disk, false, true) < 0)
- goto endjob;
-
/* clear the _SHALLOW flag if there is only one layer */
if (!disk->src->backingStore)
flags &= ~VIR_DOMAIN_BLOCK_COPY_SHALLOW;
if (qemuDomainDiskBlockJobIsActive(disk))
goto endjob;
- if (qemuDomainDetermineDiskChain(driver, vm, disk, false, true) < 0)
- goto endjob;
if (!top)
topSource = disk->src;