]> git.proxmox.com Git - mirror_qemu.git/commit - block/block-backend.c
block: Add BlockBackendRootState
authorMax Reitz <mreitz@redhat.com>
Mon, 19 Oct 2015 15:53:24 +0000 (17:53 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 23 Oct 2015 16:18:23 +0000 (18:18 +0200)
commit281d22d86ca26bf356284719e44c4bc66b716415
tree804c3d13614ca3e46180c440e872024c1fc9f437
parent973f2ddf7b48c27aa8642047796cca3bec0b48d8
block: Add BlockBackendRootState

This structure will store some of the state of the root BDS if the BDS
tree is removed, so that state can be restored once a new BDS tree is
inserted.

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
include/block/block_int.h
include/qemu/typedefs.h
include/sysemu/block-backend.h