]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: remove virConnectPtr in some migration methods
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 12 Feb 2018 16:50:01 +0000 (16:50 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Mon, 19 Feb 2018 11:12:16 +0000 (11:12 +0000)
commit82592551cb8c4112cfa2264d50b8dce5349533d5
tree4a8b3b756a41e01ccba4793ef39bb707c2c3e019
parenta967615c4bfe2aaa00986bbc210a51272a438459
qemu: remove virConnectPtr in some migration methods

The qemuMigrationPrecreateStorage method needs a connection
to access the storage driver. Instead of passing it around,
open it at time of use.

Reviewed-by: John Ferlan <jferlan@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/qemu/qemu_driver.c
src/qemu/qemu_migration.c
src/qemu/qemu_migration.h