]> git.proxmox.com Git - mirror_qemu.git/commit - block/block-backend.c
block: Make some BB functions fall back to BBRS
authorMax Reitz <mreitz@redhat.com>
Mon, 19 Oct 2015 15:53:25 +0000 (17:53 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 23 Oct 2015 16:18:23 +0000 (18:18 +0200)
commit061959e8da5af59343e2c75d55c40f366d0164f9
treee9a15f7f0e35d1ff40344a2ebe72867c824bdb64
parent281d22d86ca26bf356284719e44c4bc66b716415
block: Make some BB functions fall back to BBRS

If there is no BDS tree attached to a BlockBackend, functions that can
do so should fall back to the BlockBackendRootState structure.

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