[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Re: [PATCH 2/2] Add flush=off parameter to -drive
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] Re: [PATCH 2/2] Add flush=off parameter to -drive |
Date: |
Fri, 14 May 2010 11:16:47 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Christoph Hellwig <address@hidden> writes:
[...]
> Markus was looking into separating the block device state in host/
> guest portions lately, and splitting cache= would help with this.
> Driver cache enabled or not (fsync means enabled, O_DSYNC disabled,
> and none probably disabled given that we don't care), while O_DIRECT
> vs normal cached I/O is host state.
Let me provide a bit more context. -drive is a happy mix of guest and
host parameters. Some parameters are clearly host, some clearly guest,
and some are... complicated. For instance, I'd argue that "readonly"
applies to both host and guest.
I'm working on turning all guest parameters proper qdev properties, and
collect the host parameters in a new -blockdev. -drive stays for
compatibility and convenience (I'd like to deprecate if=none, though).
If you change -drive, please keep the coming separation in mind, and
avoid parameters that mix up guest and host.
- Re: [Qemu-devel] Re: [PATCH 2/2] Add flush=off parameter to -drive, (continued)
- Re: [Qemu-devel] Re: [PATCH 2/2] Add flush=off parameter to -drive, Alexander Graf, 2010/05/11
- Re: [Qemu-devel] Re: [PATCH 2/2] Add flush=off parameter to -drive, Jamie Lokier, 2010/05/11
- Re: [Qemu-devel] Re: [PATCH 2/2] Add flush=off parameter to -drive, Paul Brook, 2010/05/11
- Re: [Qemu-devel] Re: [PATCH 2/2] Add flush=off parameter to -drive, Paul Brook, 2010/05/11
- Re: [Qemu-devel] Re: [PATCH 2/2] Add flush=off parameter to -drive, Jamie Lokier, 2010/05/12
- Re: [Qemu-devel] Re: [PATCH 2/2] Add flush=off parameter to -drive, Christoph Hellwig, 2010/05/17
- Re: [Qemu-devel] Re: [PATCH 2/2] Add flush=off parameter to -drive,
Markus Armbruster <=
- Re: [Qemu-devel] Re: [PATCH 2/2] Add flush=off parameter to -drive, Christoph Hellwig, 2010/05/17
- Re: [Qemu-devel] Re: [PATCH 2/2] Add flush=off parameter to -drive, Alexander Graf, 2010/05/17
- Re: [Qemu-devel] Re: [PATCH 2/2] Add flush=off parameter to -drive, Avi Kivity, 2010/05/11
- [Qemu-devel] Re: [PATCH 2/2] Add flush=off parameter to -drive, Alexander Graf, 2010/05/12
- [Qemu-devel] Re: [PATCH 2/2] Add flush=off parameter to -drive, Kevin Wolf, 2010/05/12
- [Qemu-devel] Re: [PATCH 2/2] Add flush=off parameter to -drive, Alexander Graf, 2010/05/12
Re: [Qemu-devel] [PATCH 1/2] Add no-op aio emulation stub, Stefan Hajnoczi, 2010/05/11
[Qemu-devel] Re: [PATCH 1/2] Add no-op aio emulation stub, Kevin Wolf, 2010/05/11
Re: [Qemu-devel] [PATCH 0/2] Enable qemu block layer to not flush, Anthony Liguori, 2010/05/10