diff options
| author | Kevin Wolf | 2014-04-11 21:29:52 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2014-04-30 11:05:00 +0200 |
| commit | 0b50cc885381fc6794590dbbb40665e32f9292f8 (patch) | |
| tree | 4a5308890ef5cc2f8577fa583d080fca320e4eb8 /include/exec | |
| parent | iotests: Discarding compressed clusters on qcow2 (diff) | |
| download | qemu-0b50cc885381fc6794590dbbb40665e32f9292f8.tar.gz qemu-0b50cc885381fc6794590dbbb40665e32f9292f8.tar.xz qemu-0b50cc885381fc6794590dbbb40665e32f9292f8.zip | |
block: Create bdrv_inherited_flags()
Instead of having bdrv_open_flags() as a function that creates flags for
several unrelated places and then adding open-coded flags on top, create
a new function that derives the flags for bs->file from the flags for bs.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
