Re: [Qemu-devel] [PATCH v2 6/6] qemu-nbd: Use BlockBackend where reasonable

2014-11-18 Thread Paolo Bonzini
On 18/11/2014 12:21, Max Reitz wrote: > Because qemu-nbd creates the BlockBackend by itself, it should create > the according BlockDriverState tree by itself as well; that means, it > has call bdrv_open() on its own. This is one of the places where > qemu-nbd still needs to use a BlockDriverState

[Qemu-devel] [PATCH v2 6/6] qemu-nbd: Use BlockBackend where reasonable

2014-11-18 Thread Max Reitz
Because qemu-nbd creates the BlockBackend by itself, it should create the according BlockDriverState tree by itself as well; that means, it has call bdrv_open() on its own. This is one of the places where qemu-nbd still needs to use a BlockDriverState directly (the root BDS below the BB); other pla