From nobody Sun Feb 8 22:49:34 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1600331526; cv=none; d=zohomail.com; s=zohoarc; b=l2dtrA8eqIpGAqAfDv5YqHYKMvuv51yNeDZ+4BRYFBCIJggedXCJOCwDcjOzQvWELF80bajhTxXe0Tm8L+JAdjtNPrpvm4as1pibmZBxGjtsNNmNPYqeFOfTez5usvJt+QN3tYjGdMKBJjjExGkKghHmzd7YtYZB76AaCqrGG/0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1600331526; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=gisbda94fcW86Fz2QwiJ+2eFBsOx3sK0EKoyy77Kn1o=; b=KbWCuAotHj7W+46xZL8bT6MhwLY4w0HXBreoVBdOsDkD1qS+6hPwaNGVHOuncPOanCc+n8OrC/fWNgFtypQe5iHQR9+ER6IZpOy1XuSlI4amd9sItt8gKZ9uhMoKDDDV/xAIoyqVWsCKZOMykNHzduuDkrrhl2pTiEU6rcqniv8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.zohomail.com with SMTPS id 1600331526624493.4374881137651; Thu, 17 Sep 2020 01:32:06 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-103-6PB5PewxOQi88TMVIo7lyg-1; Thu, 17 Sep 2020 04:31:44 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 96C061084D7C; Thu, 17 Sep 2020 08:31:38 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7368E60BE5; Thu, 17 Sep 2020 08:31:38 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 3C4668C7D1; Thu, 17 Sep 2020 08:31:38 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 08H8UEnr004168 for ; Thu, 17 Sep 2020 04:30:14 -0400 Received: by smtp.corp.redhat.com (Postfix) id C1CAF5DA30; Thu, 17 Sep 2020 08:30:14 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.195.159]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3D5B45DECD for ; Thu, 17 Sep 2020 08:30:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600331525; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=gisbda94fcW86Fz2QwiJ+2eFBsOx3sK0EKoyy77Kn1o=; b=DWstjLzTxKx6yXW8HUpJEloA0MeOwkMhXcfr3eRiT9gp2LThbfk3+r9nGoFztsTStSdkW5 oLRbuwJqyK4MxBmpxKxgYepGJHec1hd8/aqB8LCE8I/6AqMduXw88pSkxbziZW0Kwfg9Sv m9517xgjanwvkll3JSlA7Am1Dvg3RaM= X-MC-Unique: 6PB5PewxOQi88TMVIo7lyg-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH 09/14] src/lxc/lxc_controller: convert to use GLib DBus Date: Thu, 17 Sep 2020 10:29:44 +0200 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Signed-off-by: Pavel Hrdina --- src/lxc/lxc_controller.c | 6 +++--- src/lxc/meson.build | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/lxc/lxc_controller.c b/src/lxc/lxc_controller.c index 37a28ac2f3..c3cf485e2c 100644 --- a/src/lxc/lxc_controller.c +++ b/src/lxc/lxc_controller.c @@ -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(); =20 rc =3D virLXCControllerMain(ctrl); =20 @@ -2612,7 +2612,7 @@ int main(int argc, char *argv[]) =20 virEventRegisterDefaultImpl(); =20 - virDBusSetSharedBus(false); + virGDBusSetSharedBus(false); =20 if (!(ctrl =3D virLXCControllerNew(name))) goto cleanup; diff --git a/src/lxc/meson.build b/src/lxc/meson.build index 2810da7604..f8e2a8852a 100644 --- a/src/lxc/meson.build +++ b/src/lxc/meson.build @@ -139,7 +139,6 @@ if conf.has('WITH_LXC') 'deps': [ blkid_dep, capng_dep, - dbus_dep, fuse_dep, libnl_dep, rpc_dep, --=20 2.26.2