Re: [Qemu-devel] [PATCH 1/2 v2][UPDATE] Add "cache" parameter to "-drive"

2007-12-17 Thread Fabrice Bellard
Laurent Vivier wrote: > This patch adds a new parameter to "-drive" > > Using "cache=off" with "-drive" will open the disk image file using > "O_DIRECT". > > By default, "cache" is set to "on" to keep original behavior of qemu. > > example: > > "-drive file=my_disk.qcow2,cache=off" > --- > blo

[Qemu-devel] [PATCH 1/2 v2][UPDATE] Add "cache" parameter to "-drive"

2007-12-17 Thread Laurent Vivier
This patch adds a new parameter to "-drive" Using "cache=off" with "-drive" will open the disk image file using "O_DIRECT". By default, "cache" is set to "on" to keep original behavior of qemu. example: "-drive file=my_disk.qcow2,cache=off" --- block-raw-posix.c |8 block-raw-win