aboutsummaryrefslogtreecommitdiff
path: root/qemu-config.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2011-08-04 12:26:51 +0100
committerKevin Wolf <kwolf@redhat.com>2011-08-23 14:15:17 +0200
commitc3993cdca39c252d65bbbcc234d8d242dc9bd693 (patch)
treefd31efb3149956a7fd09de821851b52ce2e20580 /qemu-config.c
parent12888904fe7f0231e853072805fb2317ec60c510 (diff)
block: parse cache mode flags in a single place
This patch introduces bdrv_parse_cache_flags() which sets open flags given a cache mode. Previously this was duplicated in blockdev.c and qemu-img.c. Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-config.c')
0 files changed, 0 insertions, 0 deletions