From nobody Sun Feb 8 17:22:32 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.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 170.10.129.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=1669210504; cv=none; d=zohomail.com; s=zohoarc; b=OjFkeY49esehJNwCijmOrJeWnD73IW3BVA14e7x8WqtGmEX6s19C1jmMYtLyHf9yLdqPc+jsBl23Wsog7k5psHrxnpQBKTAk4NKhwxrzQx2Gk8PV6gPta0Fym8h8xcQcvY/Nzj04fF1ilckImyD7ycnaUl6DYZgP6krbKh1I4t4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1669210504; 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=pJ2dQPx3Db4J8DVv2dLHwGinxe3n8T40Kp6nAAFbh+o=; b=cudPqrQglDUUBNVn5lJpfScrROp9spphIAIzHelYKOhps1A4Szs7cLpjYXJ8XFceGF/NVQzAuysibE+HjRi56XiooBTEdQniLJDPxfb4WeA9olimuuyi5wJcpIgT0wV3daY6nB+VRh8AysYWhCCzvXZPdC7zfqxPeqK2Wmb8Mwk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1669210504716506.41684552907805; Wed, 23 Nov 2022 05:35:04 -0800 (PST) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-619-rzg9DNevO4OGAuB99Jozdw-1; Wed, 23 Nov 2022 08:34:33 -0500 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 56DB58027EC; Wed, 23 Nov 2022 13:34:30 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4000C492B07; Wed, 23 Nov 2022 13:34:30 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 36B2D1946589; Wed, 23 Nov 2022 13:34:29 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id B76311946587 for ; Wed, 23 Nov 2022 12:36:44 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 9C4F02166B31; Wed, 23 Nov 2022 12:36:44 +0000 (UTC) Received: from speedmetal.redhat.com (ovpn-208-20.brq.redhat.com [10.40.208.20]) by smtp.corp.redhat.com (Postfix) with ESMTP id 10ED82166B26 for ; Wed, 23 Nov 2022 12:36:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1669210503; 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=pJ2dQPx3Db4J8DVv2dLHwGinxe3n8T40Kp6nAAFbh+o=; b=bqnbXQFPUTVrWAJqcAPHfUiB6FsI8T/S4Szh4MuGR9LvfEEICYcOuIPsJZd/BzCmhHYOFU zzzofRHAr6NTKHP7vl8HRCPHFnlcbvtWJrOgSE5Tq5bB/I6T2VJLkjq3uFmfDPw5Ut7uw3 +nUxbm97t/kfSUVhysLS/epGTM8VWro= X-MC-Unique: rzg9DNevO4OGAuB99Jozdw-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 1/7] qemu: driver: Fix formatting of function headers around qemuDomainAttachDevice Date: Wed, 23 Nov 2022 13:36:35 +0100 Message-Id: <63b7287c56c843192d45be9021d773f7f0fd3dc1.1669206840.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1669210504978100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: Peter Krempa --- src/qemu/qemu_driver.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index ff5a743716..70368ffb10 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -7757,16 +7757,19 @@ qemuDomainAttachDeviceFlags(virDomainPtr dom, return ret; } -static int qemuDomainAttachDevice(virDomainPtr dom, const char *xml) + +static int +qemuDomainAttachDevice(virDomainPtr dom, + const char *xml) { - return qemuDomainAttachDeviceFlags(dom, xml, - VIR_DOMAIN_AFFECT_LIVE); + return qemuDomainAttachDeviceFlags(dom, xml, VIR_DOMAIN_AFFECT_LIVE); } -static int qemuDomainUpdateDeviceFlags(virDomainPtr dom, - const char *xml, - unsigned int flags) +static int +qemuDomainUpdateDeviceFlags(virDomainPtr dom, + const char *xml, + unsigned int flags) { virQEMUDriver *driver =3D dom->conn->privateData; virDomainObj *vm =3D NULL; --=20 2.37.3