]> xenbits.xensource.com Git - libvirt.git/commit
qemu: hotplug: Allow specifying explicit source for disk backend hotplug code
authorPeter Krempa <pkrempa@redhat.com>
Thu, 4 Oct 2018 15:49:00 +0000 (17:49 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 8 Oct 2018 13:35:18 +0000 (15:35 +0200)
commit50cb91dbc5d197386a3f4ee38d226fcaebfc0e65
tree3c2149cac19481c1965466e7d683f65b8dac7f67
parent7fec0e59d394d1b55509d5c07c2edd21746612f5
qemu: hotplug: Allow specifying explicit source for disk backend hotplug code

Since the code is also used when changing media we need to allow
specifying explicit source for which we are going to prepare. With this
change callers don't have to replace disk->src with the new source
definition for generating these.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_hotplug.c