Hi,

On Mon, 3 Dec 2007, Fabrice Bellard wrote:

> Laurent Vivier wrote:
> > This patch enhances the "-drive ,cache=off" mode with IDE drive emulation
> > by removing the buffer used in the IDE emulation.
> > ---
> >  block.c     |   10 +++
> >  block.h     |    2  block_int.h |    1  cpu-all.h   |    1  exec.c      |
> > 19 ++++++
> >  hw/ide.c    |  176
> > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
> >  vl.c        |    1  7 files changed, 204 insertions(+), 6 deletions(-)
> 
> What's the use of keeping the buffered case ?

AFAICT if your guest is DOS without a disk caching driver, you do not 
really want to use O_DIRECT.

Ciao,
Dscho



Reply via email to