[libvirt] [PATCHv2 34/62] qemu: domain: Prepare qemuDomainDiskGetBackendAlias for -blockdev

Ján Tomko jtomko at redhat.com
Thu Aug 16 12:49:18 UTC 2018


On Mon, Aug 13, 2018 at 06:00:08PM +0200, Peter Krempa wrote:
>Pass in the node name as the backend alias when -blockdev is used. As
>copy-on-read is expressed by a separate -blockdev backing chain member
>we need to decide which node name to use here.
>
>For empty cdroms when using -blockdev there is no backend at all so NULL
>is returned.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_domain.c | 21 +++++++++++++++++++--
> 1 file changed, 19 insertions(+), 2 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180816/7cd9bcdf/attachment-0001.sig>


More information about the libvir-list mailing list