Searched hist:"2 ec9a782" (Results 1 – 1 of 1) sorted by relevance
/qemu/block/ |
H A D | iscsi.c | 2ec9a782 Mon Apr 10 07:54:51 GMT 2017 Fam Zheng <famz@redhat.com> iscsi: Fix iscsi_create
Since d5895fcb (iscsi: Split URL into individual options), creating qcow2 image on an iscsi LUN fails:
qemu-img create -f qcow2 iscsi://$SERVER/$IQN/0 1G qemu-img: iscsi://$SERVER/$IQN/0: Could not create image: Invalid argument
The problem is iscsi_open now expects that transport_name, portal and target are already parsed into structured options by iscsi_parse_filename, but it is not called in iscsi_create.
Signed-off-by: Fam Zheng <famz@redhat.com> Message-id: 20170410075451.21329-1-famz@redhat.com Reviewed-by: Eric Blake <eblake@redhat.com> [mreitz: Dropped now superfluous qdict_put(bs_options, "filename", ...)] Signed-off-by: Max Reitz <mreitz@redhat.com>
|