mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
qemuMigrationSrcRun: Fix misleading comment about NBD with TLS support
We do support non-shared storage migration with TLS now. Fix the comment
claiming otherwise.
Fixes: a8dc146a4d
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
fd6f49034d
commit
19faa6f01a
@ -4144,10 +4144,7 @@ qemuMigrationSrcRun(virQEMUDriver *driver,
|
|||||||
host = spec->dest.host.name;
|
host = spec->dest.host.name;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Currently libvirt does not support setting up of the NBD
|
/* Allow migration with TLS only when we also support TLS for the NBD connection */
|
||||||
* non-shared storage migration with TLS. As we need to honour the
|
|
||||||
* VIR_MIGRATE_TLS flag, we need to reject such migration until
|
|
||||||
* we implement TLS for NBD. */
|
|
||||||
if (flags & VIR_MIGRATE_TLS &&
|
if (flags & VIR_MIGRATE_TLS &&
|
||||||
!virQEMUCapsGet(priv->qemuCaps, QEMU_CAPS_BLOCKDEV_DEL)) {
|
!virQEMUCapsGet(priv->qemuCaps, QEMU_CAPS_BLOCKDEV_DEL)) {
|
||||||
virReportError(VIR_ERR_OPERATION_UNSUPPORTED, "%s",
|
virReportError(VIR_ERR_OPERATION_UNSUPPORTED, "%s",
|
||||||
|
Loading…
Reference in New Issue
Block a user