]> git.ipfire.org Git - thirdparty/libvirt.git/commit
lxc: Cleanup virConnectPtr usage
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 4 Dec 2019 08:08:17 +0000 (09:08 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 17 Dec 2019 15:58:43 +0000 (16:58 +0100)
commitdd2fd7d449f35241300a6672396adce47b713741
tree4201cf012d1df2b81c9f41ec12862c891469d83f
parentf1625edc1678809c39b40bfec10fef4c30f1fb21
lxc: Cleanup virConnectPtr usage

There are some functions which pass virConnectPtr around for one
reason and one reason only: to obtain virLXCDriverPtr in the end.
Might replace the argument and pass a pointer to the driver right
from the start.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Cole Robinson <crobinso@redhat.com>
src/lxc/lxc_driver.c
src/lxc/lxc_process.c
src/lxc/lxc_process.h