]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: remove virConnectPtr from some more startup code paths
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 9 Feb 2018 17:19:44 +0000 (17:19 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Mon, 19 Feb 2018 11:11:47 +0000 (11:11 +0000)
commita967615c4bfe2aaa00986bbc210a51272a438459
tree984963d8715507481a36c2c507e371e41290cb34
parent6678a447773a602cc184f4b53035bc9bb70fcb28
qemu: remove virConnectPtr from some more startup code paths

There's a few places in startup code paths which pass around a
virConnectPtr which is no longer required. Specifically, the
qemuProcessStart() method now only requires a non-NULL connection if
autodestroy is requested.

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