]> git.proxmox.com Git - mirror_qemu.git/commit - block.c
block: Introduce BDS.file_child
authorKevin Wolf <kwolf@redhat.com>
Mon, 15 Jun 2015 12:11:51 +0000 (14:11 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 16 Oct 2015 13:34:29 +0000 (15:34 +0200)
commit1fdd69330872ef91d92482472eef79350d2f379b
tree571c753d8aa3d47221b3ce8ba018b4ffc3479ee1
parent68e517a8d7d89298235913a514af70364e559b78
block: Introduce BDS.file_child

Store the BdrvChild for bs->file. At this point, bs->file_child->bs just
duplicates the bs->file pointer. Later, it will completely replace it.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
block.c
include/block/block_int.h