goto cleanup;
}
+ if (virStorageSourceIsFD(disk->src)) {
+ virReportError(VIR_ERR_OPERATION_UNSUPPORTED, "%s",
+ _("peeking is not supported for FD passed images"));
+ goto cleanup;
+
+ }
+
if (qemuDomainStorageFileInit(driver, vm, disk->src, NULL) < 0)
goto cleanup;
goto endjob;
}
+ if (virStorageSourceIsFD(disk->src)) {
+ virReportError(VIR_ERR_OPERATION_UNSUPPORTED, "%s",
+ _("block info is not supported for FD passed disk image"));
+ goto endjob;
+ }
+
/* for inactive domains we have to peek into the files */
if (!virDomainObjIsActive(vm)) {
if ((qemuStorageLimitsRefresh(driver, cfg, vm, disk->src, false)) < 0)
if (!qemuDomainDiskBlockJobIsSupported(disk))
goto endjob;
+ if (virStorageSourceIsFD(mirror)) {
+ virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
+ _("copy to a FD passed disk source is not yet supported"));
+ goto endjob;
+ }
+
if (disk->device == VIR_DOMAIN_DISK_DEVICE_LUN &&
virDomainDiskDefSourceLUNValidate(mirror) < 0)
goto endjob;
if (virStorageSourceIsEmpty(src))
return 0;
+ if (virStorageSourceIsFD(src))
+ return 0;
+
if (qemuStorageLimitsRefresh(driver, cfg, dom, src, true) <= 0) {
virResetLastError();
return 0;