Re: [Qemu-block] [PATCH v8 02/15] block: Make bdrv_states public

2015-10-27 Thread Alberto Garcia
On Mon 26 Oct 2015 09:39:06 PM CET, Max Reitz wrote: > When inserting a BDS tree into a BB, we will need to add the root BDS to > this list. Since we will want to do that in the blockdev-insert-medium > implementation in blockdev.c, we will need access to it there. > > This patch is not exactly

[Qemu-block] [PATCH v8 02/15] block: Make bdrv_states public

2015-10-26 Thread Max Reitz
When inserting a BDS tree into a BB, we will need to add the root BDS to this list. Since we will want to do that in the blockdev-insert-medium implementation in blockdev.c, we will need access to it there. This patch is not exactly elegant, but bdrv_states will be removed in the future anyway