Hello,
After upgrade to QEMU emulator version 1.6.1 (Debian 1.6.0+dfsg-2) it
is not possible to connect ISO via HTTP anymore:
--8<--
QEMU 1.6.1 monitor - type 'help' for more information
(qemu) info version
info version
1.6.1 (Debian 1.6.0+dfsg-2)
(qemu) info block
info block
ide0-hd0: /kvm/vm/1.img (qcow2)
ide1-cd0: [not inserted]
Removable device: not locked, tray open
floppy0: [not inserted]
Removable device: not locked, tray closed
sd0: [not inserted]
Removable device: not locked, tray closed
(qemu) change ide1-cd0 http://somesite.ru/test.iso
change ide1-cd0 http://somesite.ru/test.iso
curl block device does not support writes
Could not open 'http://somesite.ru/test.iso': Read-only file system
--8<--
with older version it was working fine:
--8<--
QEMU 1.3.90 monitor - type 'help' for more information
(qemu) info version
info version
1.3.90 (Debian 1.4.0~rc0+dfsg-1exp)
(qemu) info block
info block
ide0-hd0: removable=0 io-status=ok file=/kvm/vm/1.img ro=0 drv=qcow2
encrypted=0 bps=0 bps_rd=0 bps_wr=0 iops=0 iops_rd=0 iops_wr=0
ide1-cd0: removable=1 locked=0 tray-open=1 io-status=ok [not inserted]
floppy0: removable=1 locked=0 tray-open=0 [not inserted]
sd0: removable=1 locked=0 tray-open=0 [not inserted]
(qemu) change ide1-cd0 http://somesite.ru/test.iso
change ide1-cd0 http://somesite.ru/test.iso
(qemu) info block
info block
ide0-hd0: removable=0 io-status=ok file=/kvm/vm/1.img ro=0 drv=qcow2
encrypted=0 bps=0 bps_rd=0 bps_wr=0 iops=0 iops_rd=0 iops_wr=0
ide1-cd0: removable=1 locked=0 tray-open=0 io-status=ok
file=http://somesite.ru/test.iso ro=0 drv=raw encrypted=0 bps=0 bps_rd=0
bps_wr=0 iops=0 iops_rd=0 iops_wr=0
floppy0: removable=1 locked=0 tray-open=0 [not inserted]
sd0: removable=1 locked=0 tray-open=0 [not inserted]
(qemu) ^C
--8<--
it seems like QEMU try mount HTTP without readonly flag set and get
error "curl block device does not support writes".
Could you please advice how to fix this and get mounting ISO via HTTP working
back?
Thank you in advance for any information about this.