diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c index 9ed7115dab197128ca38f595a4af407452a7e4f5..509da6bfeaf71df93b1b38b425d00b8eefe5d014 100644 --- a/src/qemu/qemu_domain.c +++ b/src/qemu/qemu_domain.c @@ -13462,10 +13462,10 @@ qemuDomainPrepareStorageSourceBlockdev(virDomainDiskDefPtr disk, src->nodeformat) < 0) return -1; - if (qemuDomainPrepareStorageSourcePR(disk->src, priv, src->nodestorage) < 0) + if (qemuDomainPrepareStorageSourcePR(src, priv, src->nodestorage) < 0) return -1; - if (qemuDomainPrepareStorageSourceTLS(disk->src, cfg, src->nodestorage, + if (qemuDomainPrepareStorageSourceTLS(src, cfg, src->nodestorage, priv->qemuCaps) < 0) return -1;