Re: [Qemu-devel] block-vvfat RW patch

2006-09-09 Thread Fabrice Bellard
Roger Lathrop wrote: 3) Changed sector2cluster to return a signed int, and added type casts to force the division to be signed. This is not safe. vvfat_write must be modified to handle the case where sectors are written before s->faked_sectors (maybe ignoring the write could suffice). Rega

Re: [Qemu-devel] block-vvfat RW patch

2006-09-05 Thread Kazu
Hi, I confirmed it works. Thank you. Regards, Kazu Sent: Tuesday, September 05, 2006 8:57 AM Roger Lathrop wrote: > Attached patch fixes 3 issues I found while trying to write files from guest > to a vfat drive using this configuration: > Host: Windows XP (NTFS) > Guest: DOS 5 (yeah, really!)

[Qemu-devel] block-vvfat RW patch

2006-09-04 Thread Roger Lathrop
Attached patch fixes 3 issues I found while trying to write files from guest to a vfat drive using this configuration: Host: Windows XP (NTFS) Guest: DOS 5 (yeah, really!) Compiler: gcc version 3.4.2 (mingw-special) Qemu Version: 0.8.2 Command line: qemu -hdb fat:rw:c:\dev\qemu\work... Probl