]> xenbits.xensource.com Git - libvirt.git/commit
qemu: alias: Generate QOM name of the block backend for disks
authorPeter Krempa <pkrempa@redhat.com>
Tue, 26 Jun 2018 14:55:19 +0000 (16:55 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 21 Aug 2018 13:46:06 +0000 (15:46 +0200)
commitfb64e176f4fe30cea32614b6826d2f21509daf45
treecc0b69b7783e95c7568809511912280cd6fce6a5
parent716c46178ab6e32195f71261cc7b4fa00c13a40a
qemu: alias: Generate QOM name of the block backend for disks

When we stop using -drive qemu stops reporting it in some of the monitor
commands. To allow referring the disk frontends and the corresponding
block backends we need to know these names. Unfortunately different
buses require different names.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_alias.c
src/qemu/qemu_alias.h
src/qemu/qemu_hotplug.c