]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
block: Create bdrv_backing_flags()
authorKevin Wolf <kwolf@redhat.com>
Fri, 25 Apr 2014 11:27:34 +0000 (13:27 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 30 Apr 2014 09:05:00 +0000 (11:05 +0200)
commit317fc44ef2bfa87e96adecf035ed136ed9d78c8f
tree42ffbf0e5ff22cf44100cded2e623f1509b7cf8e
parent0b50cc885381fc6794590dbbb40665e32f9292f8
block: Create bdrv_backing_flags()

Instead of manipulation flags inline, move the derivation of the flags
of a backing file into a new function next to the existing functions
that derive flags for bs->file and for the block driver open function.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
block.c