]> git.proxmox.com Git - qemu-server.git/commit
fix #2120: use hosts initiator name with qemu-img
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 7 Mar 2019 12:43:11 +0000 (13:43 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 7 Mar 2019 14:59:56 +0000 (15:59 +0100)
commit92bdc3f0e364704202a3981c5d967eb9504628b1
tree528465471bf6fa984f5629a13493fd756a05c82f
parentcb702ebe0f683ab6c7534714912727588be36282
fix #2120: use hosts initiator name with qemu-img

qemu-img uses the qemu default initiator name 'iqn.2008-11.org.linux-kvm'
since we use the one of the host (/etc/iscsi/initiatorname.iscsi) when
using it with a running vm, we want to using it also when moving a disk
with qemu-img

to do that we have give qemu-img the image in as a full option string

this fixes the issue that we could not move an zfs-over-iscsi disk
without allowing the default qemu initiator

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/QemuServer.pm