[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/2 v2][UPDATED] Open disk images with O_DIRECT
From: |
Laurent Vivier |
Subject: |
[Qemu-devel] [PATCH 0/2 v2][UPDATED] Open disk images with O_DIRECT |
Date: |
Mon, 17 Dec 2007 23:09:18 +0100 |
These patches allow to open file using O_DIRECT and bypass the host I/O cache.
The v2 is a new version including comments from Anthony Liguori ("directio"
has been renamed "cache"), from Balazs Attila-Mihaly (for Win32 support,
not tested) and Samuel Thibault (for the generic function qemu_memalign()".
This version is an updated version with last CVS changes.
[PATCH 1/2] Add "cache" parameter to "-drive"
Using "cache=off" with "-drive" will open the disk image
file using "O_DIRECT".
[PATCH 2/2] Direct IDE I/O
This patch enhances the "-drive ,cache=off" mode with IDE drive emulation
by removing the buffer used in the IDE emulation.
Laurent