From nobody Mon Feb 9 22:20:29 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 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=1579009707; cv=none; d=zohomail.com; s=zohoarc; b=l9x5Uvt/f06oinW8tOmnYacQrOFOf7zhMNBR0AGjrV4IbJxfNXjf3RwqRukPkkB0I7CeM8Ux/94gYsF9and/P6Zpl+qSPCqjGJS/9GbQyfJNwgCni+9cHu60XpPAqbzeSehlZMhNQe7Rd1f4GETjNkwtJlZFaVu6E8X7DZmGpHQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1579009707; h=Content-Type:Content-Transfer-Encoding:Cc: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=ffEogTVyDcefHZ3YcVD0irhVeRTBnD3cRzAWYsPQKwo=; b=Kjjr3szvT0ZlkrGQ1ebsmvdITiiGm8zg1sS1EyArpXf09a+mT9n8LD8M1FB3roDc7an19+XblY0ZbEzwlS2ME4egPij0qOa/pknNYQArG95Q/NkvbmDYyuruphAiCyp7BPhWvtPmajTPPf12FFkkvbKVAAaOIGWTZIT5oSpACUI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 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-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTPS id 157900970773124.765722330736594; Tue, 14 Jan 2020 05:48:27 -0800 (PST) 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-438-8QY2BXbWPfWPE_hK-PNGVw-1; Tue, 14 Jan 2020 08:48:20 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6D644800A02; Tue, 14 Jan 2020 13:48:15 +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 452D260C18; Tue, 14 Jan 2020 13:48:15 +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 007FB87089; Tue, 14 Jan 2020 13:48:14 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 00EDmCNd009828 for ; Tue, 14 Jan 2020 08:48:12 -0500 Received: by smtp.corp.redhat.com (Postfix) id E17BF10001AE; Tue, 14 Jan 2020 13:48:12 +0000 (UTC) Received: from localhost (ovpn-112-18.ams2.redhat.com [10.36.112.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id C43941036D02; Tue, 14 Jan 2020 13:48:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1579009706; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=ffEogTVyDcefHZ3YcVD0irhVeRTBnD3cRzAWYsPQKwo=; b=a1xu8w9lT6r13GPYjZ1w1rmfLFYvOwF5ICI5qCYU54Fz+1dlFDqpKv8pTXc1mm0x4iim/d hjNlx/qSvmi7uprBiCd6kXJjYlNlW6IAVupL00zt8/AYU6YStVWoJUS268mE3n1oyB/xoy iOV/XyVfnRlJ2bYxRjM2T66j0xXHyGc= From: marcandre.lureau@redhat.com To: libvir-list@redhat.com Date: Tue, 14 Jan 2020 17:46:44 +0400 Message-Id: <20200114134646.3317599-7-marcandre.lureau@redhat.com> In-Reply-To: <20200114134646.3317599-1-marcandre.lureau@redhat.com> References: <20200114134646.3317599-1-marcandre.lureau@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-loop: libvir-list@redhat.com Cc: =?UTF-8?q?Michal=20Pr=C3=ADvozn=C3=ADk?= , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Subject: [libvirt] [PATCH 6/8] qemu: prepare and stop the dbus 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: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-MC-Unique: 8QY2BXbWPfWPE_hK-PNGVw-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) From: Marc-Andr=C3=A9 Lureau Signed-off-by: Marc-Andr=C3=A9 Lureau --- src/qemu/qemu_process.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c index 4195042194..845a7caa55 100644 --- a/src/qemu/qemu_process.c +++ b/src/qemu/qemu_process.c @@ -58,6 +58,7 @@ #include "qemu_extdevice.h" #include "qemu_firmware.h" #include "qemu_backup.h" +#include "qemu_dbus.h" =20 #include "cpu/cpu.h" #include "cpu/cpu_x86.h" @@ -6457,6 +6458,9 @@ qemuProcessPrepareHost(virQEMUDriverPtr driver, qemuDomainObjPrivatePtr priv =3D vm->privateData; g_autoptr(virQEMUDriverConfig) cfg =3D virQEMUDriverGetConfig(driver); =20 + if (qemuDBusPrepareHost(driver) < 0) + return -1; + if (qemuPrepareNVRAM(cfg, vm) < 0) return -1; =20 @@ -7378,6 +7382,8 @@ void qemuProcessStop(virQEMUDriverPtr driver, =20 qemuExtDevicesStop(driver, vm); =20 + qemuDBusStop(driver, vm); + vm->def->id =3D -1; =20 /* Stop autodestroy in case guest is restarted */ --=20 2.25.0.rc2.1.g09a9a1a997 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list