From nobody Sun Feb 8 10:50:07 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 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=1562861149; cv=none; d=zoho.com; s=zohoarc; b=S1gUGO8LFRqHpg4UhhVZzZxJpEeVPEp9E+teeLI0lP9X/8+wojtDZYHtVnWPoI6nh9PZcRInbDVSmFO7FWnwHledqv34c3FOK+H8olzUWHc5cBodv1L+0sx/V6klPMp0wDIGw5p4LlK/XUpaxjFs/kvWv/P/EnzXrMSoDSTSDvI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1562861149; 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:ARC-Authentication-Results; bh=jdTyjy1fjCXp8zHy7Kb2rWtN6HtpEylj4X1ZtILZIfg=; b=nQIcdNSIMlZ6+pLfH6S5cMAA0c332gaCdzs+c853WO6wTGgzWsya0zFPsSL/Ym3qJ6OFtPkmOK7EVzC5yhr1D2vovrdtnAcpK6tkjb5/hi8qJbD5QrRArurJ2XmRZqfmXrt+VtjuMmPgnFNxUBuDSna/JqlPKhb5fSu6ki/TV3k= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1562861149390630.0859629228629; Thu, 11 Jul 2019 09:05:49 -0700 (PDT) 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 mx1.redhat.com (Postfix) with ESMTPS id 9FB2B308ED63; Thu, 11 Jul 2019 16:05:47 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6CB7C60605; Thu, 11 Jul 2019 16:05:47 +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 2D1661833008; Thu, 11 Jul 2019 16:05:47 +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 x6BG5YoZ020468 for ; Thu, 11 Jul 2019 12:05:34 -0400 Received: by smtp.corp.redhat.com (Postfix) id E2E575DC19; Thu, 11 Jul 2019 16:05:34 +0000 (UTC) Received: from dhcp-17-95.lcy.redhat.com (unknown [10.42.17.95]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5E2F05D973; Thu, 11 Jul 2019 16:05:34 +0000 (UTC) From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Date: Thu, 11 Jul 2019 17:05:05 +0100 Message-Id: <20190711160516.2130-19-berrange@redhat.com> In-Reply-To: <20190711160516.2130-1-berrange@redhat.com> References: <20190711160516.2130-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 18/29] qemu: introduce virtqemud daemon 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: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.44]); Thu, 11 Jul 2019 16:05:48 +0000 (UTC) The virtqemud daemon will be responsible for providing the qemu API driver functionality. The qemu driver is still loaded by the main libvirtd daemon at this stage, so virtqemud must not be running at the same time. Signed-off-by: Daniel P. Berrang=C3=A9 --- .gitignore | 1 + libvirt.spec.in | 1 + src/qemu/Makefile.inc.am | 14 ++++++++++++++ 3 files changed, 16 insertions(+) diff --git a/.gitignore b/.gitignore index 0821363e94..e53f098288 100644 --- a/.gitignore +++ b/.gitignore @@ -169,6 +169,7 @@ /src/virtnetworkd /src/virtnodedevd /src/virtnwfilterd +/src/virtqemud /src/virtsecretd /src/virtstoraged /src/virt-guest-shutdown.target diff --git a/libvirt.spec.in b/libvirt.spec.in index 8dc11393b3..bb373ea370 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -1661,6 +1661,7 @@ exit 0 =20 %if %{with_qemu} %files daemon-driver-qemu +%attr(0755, root, root) %{_sbindir}/virtqemud %dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/ %dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/qemu/ %config(noreplace) %{_sysconfdir}/libvirt/qemu.conf diff --git a/src/qemu/Makefile.inc.am b/src/qemu/Makefile.inc.am index 254ba07dc0..ea10a4c565 100644 --- a/src/qemu/Makefile.inc.am +++ b/src/qemu/Makefile.inc.am @@ -112,6 +112,20 @@ CLEANFILES +=3D \ =20 endif WITH_DTRACE_PROBES =20 +sbin_PROGRAMS +=3D virtqemud + +virtqemud_SOURCES =3D $(REMOTE_DAEMON_SOURCES) +virtqemud_CFLAGS =3D \ + $(REMOTE_DAEMON_CFLAGS) \ + -DSOCK_NAME=3D"\"virtqemud-sock\"" \ + -DSOCK_NAME_RO=3D"\"virtqemud-sock-ro\"" \ + -DSOCK_NAME_ADMIN=3D"\"virtqemud-admin-sock\"" \ + -DDAEMON_NAME=3D"\"virtqemud\"" \ + -DMODULE_NAME=3D"\"qemu\"" \ + $(NULL) +virtqemud_LDFLAGS =3D $(REMOTE_DAEMON_LDFLAGS) +virtqemud_LDADD =3D $(REMOTE_DAEMON_LDADD) + conf_DATA +=3D qemu/qemu.conf =20 augeas_DATA +=3D qemu/libvirtd_qemu.aug --=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list