On 10.04.2017 09:54, Fam Zheng wrote: > 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 <f...@redhat.com> > --- > block/iscsi.c | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-)
Thanks, dropped the qdict_put() for "filename" and applied to my block branch: https://github.com/XanClic/qemu/commits/block Max
signature.asc
Description: OpenPGP digital signature