aboutsummaryrefslogtreecommitdiff
path: root/qmp-commands.hx
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2013-07-18 16:31:25 +0200
committerKevin Wolf <kwolf@redhat.com>2013-07-26 22:01:31 +0200
commit29c4e2b50d95f4a15c3dd62b39f3402f05a34907 (patch)
tree2a6268ec6ec992dcffae74cd6dc8ad1544ebde74 /qmp-commands.hx
parent0f227a947004aa9043d4386f4a47d6739499b88f (diff)
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 'qmp-commands.hx')
0 files changed, 0 insertions, 0 deletions