diff options
| author | Kevin Wolf <kwolf@redhat.com> | 2013-07-18 16:31:25 +0200 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2013-07-26 22:01:31 +0200 |
| commit | 29c4e2b50d95f4a15c3dd62b39f3402f05a34907 (patch) | |
| tree | 2a6268ec6ec992dcffae74cd6dc8ad1544ebde74 /tests/test-string-output-visitor.c | |
| parent | 0f227a947004aa9043d4386f4a47d6739499b88f (diff) | |
| download | focaccia-qemu-29c4e2b50d95f4a15c3dd62b39f3402f05a34907.tar.gz focaccia-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 'tests/test-string-output-visitor.c')
0 files changed, 0 insertions, 0 deletions