qemu: could not open disk image /tmp/c.img that was created by qemu

eculp eculp at encontacto.net
Fri Jun 6 02:49:00 UTC 2008


Quoting Juergen Lock <nox at jelal.kn-bremen.de>:

> In article <20080604122407.188217sdanmlq37k at intranet.encontacto.net>  
> you write:
>> I'm running amd64 current-8 and am up to date on most everything.
>>
>> I'm trying to give qemu a try and am using the quick start on the qemu
>> site, step by step and got all the way to the second step ;)
>>
>> # qemu-img create -f qcow c.img 3G
>> Formatting 'c.img', fmt=qcow, size=3145728 kB
>>
>> # qemu -cdrom /dev/acd0 -hda /tmp/c.img -m 256 -boot d
>> qemu: could not open disk image /tmp/c.img
>>
>> acd0 was an unmounted windowsXP installation CD.
>>
>> Should the procedure be changed for FreeBSD, I obviously assumed not?
>
> Hmm, seems the CVE 2008-0928 security patch broke qcow, or at least
> new qcow images.  qcow is also deprecated tho, you can just use qcow2
Hi Juergen,

Bakul Shah suggested qcow2 yesterday and I was able to bring up xp  
without problems.  Now I just need to figure out the network and I'll  
be in business.

Thanks a lot for your help,

ed

> instead which still works.  Or use raw images which should still be
> faster, only they are sparse files which some backup software like
> bsdtar doesn't know how to deal with properly. (dump still works tho,
> as should gtar or star when passed appropriate flags.)
>
>  I just checked, seems that patch also has been backed out from qemu svn
> but no replacement committed since.  Hmm...
>
> 	Juergen
>




More information about the freebsd-emulation mailing list