Skip to contentSkip to conversation

fat rw

Qemu-devel Ricardo Almeida 1 participant 1 message Oct 13, 2007

lore
Share & tools
lore
#0 lore raw

Hi,

I've found the fat:rw:dir option for harddrives and want to use it :) But when I run:

qemu-system-x86_64 -kernel-kqemu -m 256 -hda winxp.qcow -hdb fat:rw:/media/lacie/

I get:

qemu: could not open hard disk image 'fat:rw:/media/lacie/'

I've seen in qemu forums
(http://qemu-forum.ipi.fi/viewtopic.php?p=12250) someone with a similar problem and the following solution:

[QUOTE]
I am not sure this the correct solution, and I have no idea of what I
am doing, but by changing the bdrv_create call in enable_write_target to:

Code:

if (bdrv_create(&bdrv_qcow,

       s->qcow_filename, s->sector_count, NULL, 0) < 0)

This causes QEMU to start correctly and writes to the virtual disk
work correctly.
[/QUOTE]

I'm using Kubuntu Gutsy with QEmu 0.9.0 from repository package with kqemu_1.3.0pre11, so "I can't" patch QEmu. I would like to know if this is already fixed on CVS or what's the current status.

Regards,
Ricardo Almeida