mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-31 00:45:18 +00:00
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:
parent
bf5f2ed09c
commit
bf50ada8c1
@ -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;
|
||||
|
@ -139,7 +139,6 @@ if conf.has('WITH_LXC')
|
||||
'deps': [
|
||||
blkid_dep,
|
||||
capng_dep,
|
||||
dbus_dep,
|
||||
fuse_dep,
|
||||
libnl_dep,
|
||||
rpc_dep,
|
||||
|
Loading…
x
Reference in New Issue
Block a user