src/lxc/lxc_controller: convert to use GLib DBus

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Pavel Hrdina 2020-09-09 16:43:12 +02:00
parent bf5f2ed09c
commit bf50ada8c1
2 changed files with 3 additions and 4 deletions

View File

@ -54,13 +54,13 @@
#include "virnetdevveth.h"
#include "viralloc.h"
#include "virfile.h"
#include "virgdbus.h"
#include "virpidfile.h"
#include "vircommand.h"
#include "virhostcpu.h"
#include "virrandom.h"
#include "virprocess.h"
#include "virnuma.h"
#include "virdbus.h"
#include "rpc/virnetdaemon.h"
#include "virstring.h"
#include "virgettext.h"
@ -2430,7 +2430,7 @@ virLXCControllerRun(virLXCControllerPtr ctrl)
* of LXC instance, since dbus-daemon is limited to
* only a few 100 connections by default
*/
virDBusCloseSystemBus();
virGDBusCloseSystemBus();
rc = virLXCControllerMain(ctrl);
@ -2612,7 +2612,7 @@ int main(int argc, char *argv[])
virEventRegisterDefaultImpl();
virDBusSetSharedBus(false);
virGDBusSetSharedBus(false);
if (!(ctrl = virLXCControllerNew(name)))
goto cleanup;

View File

@ -139,7 +139,6 @@ if conf.has('WITH_LXC')
'deps': [
blkid_dep,
capng_dep,
dbus_dep,
fuse_dep,
libnl_dep,
rpc_dep,