]> xenbits.xensource.com Git - libvirt.git/commit
qemu: hotplug: Refactor qemuHotplugPrepareDiskAccess to work on virStorageSource
authorPeter Krempa <pkrempa@redhat.com>
Wed, 23 Jan 2019 13:28:31 +0000 (14:28 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 30 Jan 2019 16:20:38 +0000 (17:20 +0100)
commit9b197f0e36c20b12bc443d7451324cebf1bbd64f
tree7f6d524c131fe00373ba72e4c5bf68f4b42cb78a
parent083b74cd201820beedb24eb906a5355562520bf5
qemu: hotplug: Refactor qemuHotplugPrepareDiskAccess to work on virStorageSource

Rather than passing in a virStorageSource which would override the
originally passed disk->src we can now drop passing in a disk completely
as all functions called inside here require a virStorageSource.

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