Le lundi 24 décembre 2007 à 15:34 +0100, andrzej zaborowski a écrit :
[...]
> >
> > -#define BLK_READ_BLOCK(a, len) sd_blk_read(sd->bdrv, sd->data, a, len)
> > -#define BLK_WRITE_BLOCK(a, len)sd_blk_write(sd->bdrv, sd->data, a,
> > len)
>
> I committed the patch but I retained the use of
Hi,
On 18/12/2007, Laurent Vivier <[EMAIL PROTECTED]> 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.
>
> v3 modify hw/sd.c to alloca
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.
v3 modify hw/sd.c to allocate buffer on init and not on each
blk_read()/blk_write()
and add "cache="