Re: [Qemu-devel][Patch] Fix QEMU failure for disk image on readonly filesystem

2006-08-23 Thread Stefan Weil
> Are you sure it is needed ? I made a different fix a few days ago. > > Regards, > > Fabrice. > > I wrote my fix before your fix was available. At least for raw disk images, your fix also works, so at the moment, there is no need for my patch (this should be checked with other kinds of disk imag

Re: [Qemu-devel][Patch] Fix QEMU failure for disk image on readonly filesystem

2006-08-21 Thread Fabrice Bellard
Stefan Weil wrote: Hello, qemu fails when the disk image file is writable but on a readonly filesystem (so it is not really writable). The patch below fixes this. It also declares a local function "static" (maybe this part of the patch is a matter of taste). Are you sure it is needed ? I made

[Qemu-devel][Patch] Fix QEMU failure for disk image on readonly filesystem

2006-08-21 Thread Stefan Weil
Hello, qemu fails when the disk image file is writable but on a readonly filesystem (so it is not really writable). The patch below fixes this. It also declares a local function "static" (maybe this part of the patch is a matter of taste). Regards, Stefan --- block.c 19 Aug 2006 11:45:59 -