diff options
| author | Kevin Wolf | 2013-07-18 16:31:25 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2013-07-26 22:01:31 +0200 |
| commit | 29c4e2b50d95f4a15c3dd62b39f3402f05a34907 (patch) | |
| tree | 2a6268ec6ec992dcffae74cd6dc8ad1544ebde74 /include/qapi | |
| parent | blockdev: Rename 'readonly' option to 'read-only' (diff) | |
| download | qemu-29c4e2b50d95f4a15c3dd62b39f3402f05a34907.tar.gz qemu-29c4e2b50d95f4a15c3dd62b39f3402f05a34907.tar.xz qemu-29c4e2b50d95f4a15c3dd62b39f3402f05a34907.zip | |
blockdev: Split up 'cache' option
The old 'cache' option really encodes three different boolean flags into
a cache mode name, without providing all combinations. Make them three
separate options instead and translate the old option to the new ones
for drive_init().
The specific boolean options take precedence if the old cache option is
specified as well, so the following options are equivalent:
-drive file=x,cache=none,cache.no-flush=true
-drive file=x,cache.writeback=true,cache.direct=true,cache.no-flush=true
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'include/qapi')
0 files changed, 0 insertions, 0 deletions
