Re: [Qemu-devel] [PATCH 14/20] vvfat: correctly propagate errors

2014-02-10 Thread Fam Zheng
On Sun, 02/09 10:48, Paolo Bonzini wrote: > Before: > $ ./qemu-io-old > qemu-io-old> open -r -o driver=vvfat,fat-type=24,dir=i386-softmmu > Valid FAT types are only 12, 16 and 32 > qemu-io-old: can't open device (null): Could not open image: Invalid > argument > > After: > $ .

[Qemu-devel] [PATCH 14/20] vvfat: correctly propagate errors

2014-02-09 Thread Paolo Bonzini
Before: $ ./qemu-io-old qemu-io-old> open -r -o driver=vvfat,fat-type=24,dir=i386-softmmu Valid FAT types are only 12, 16 and 32 qemu-io-old: can't open device (null): Could not open image: Invalid argument After: $ ./qemu-io qemu-io> open -r -o driver=vvfat,fat-type=24,di