]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuDomainNamespace{Setup,Teardown}Disk: Don't pass pointer to full disk
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 3 Feb 2017 14:53:28 +0000 (15:53 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 8 Feb 2017 14:56:05 +0000 (15:56 +0100)
commit18ce9d139dab98047ac7bbe79940a1a03c01fb90
tree593e9d9a768f0cee2de88b14148671a1c31f06ab
parent76d491ef14491ca597315b5d8732ff4303921abb
qemuDomainNamespace{Setup,Teardown}Disk: Don't pass pointer to full disk

These functions do not need to see the whole virDomainDiskDef.
Moreover, they are going to be called from places where we don't
have access to the full disk definition. Sticking with
virStorageSource is more than enough.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_driver.c
src/qemu/qemu_hotplug.c