From nobody Tue Feb 10 04:03:14 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.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 216.205.24.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=1634735015; cv=none; d=zohomail.com; s=zohoarc; b=aPhpNfDitLpslT5fww2YwwXxBM8emswU+5OA0Of98CfUONs9AflOqar1bhU/xSs1f3+7b9838TgDDhA2nTE0buCTzo+W5AYfXWeokPNiw2DfF0Ihy1Bb7cD3RwcrPLSIntIqJzAsgpNKIzsao0syb4tKCeHVBfAjENy8PqrjOQM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1634735015; 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=LXvQBATm9BDSCgG3AHcAPv8WZf5N7aMO8quLY+7iYh8=; b=PC9Eegg7CLaC+tV84CMv0I+ILXPWsKR02gxXHSCynrMJvBUIK+za35Z+URCBTholuCtSM5QNrmrBQ08QFCajcHtAxR7dWj9PLxQyluxzzohg/rNGlL6VbZ00zA2Svzz6izu2+dLYetEB93kWwCfAMy75nF8zSutxHvrQf/xDs/k= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.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 [216.205.24.124]) by mx.zohomail.com with SMTPS id 1634735015845280.85040389040864; Wed, 20 Oct 2021 06:03:35 -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-335-yyvuGAt2PCeSv1e3RnLXfQ-1; Wed, 20 Oct 2021 09:03:33 -0400 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 6BCD1100790C; Wed, 20 Oct 2021 13:03:28 +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 473C360CA0; Wed, 20 Oct 2021 13:03:28 +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 816B14EA2A; Wed, 20 Oct 2021 13:03:27 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 19KD3P9n029680 for ; Wed, 20 Oct 2021 09:03:25 -0400 Received: by smtp.corp.redhat.com (Postfix) id C40C31980E; Wed, 20 Oct 2021 13:03:25 +0000 (UTC) Received: from kinshicho.usersys.redhat.com.homenet.telecomitalia.it (unknown [10.40.195.155]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 04F2D60657 for ; Wed, 20 Oct 2021 13:03:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1634735014; 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=LXvQBATm9BDSCgG3AHcAPv8WZf5N7aMO8quLY+7iYh8=; b=NG3FJw9ZJPrH8+RLX4iUCk9k9wuXSb1pFEz9tcuUFBAO1xXCPXfPNeuxYLRVYEqre73LiO D4rPy1d4YkoSIJoliQFnIRbppeRVfphxQ68kzM07DTV4Feqgc07/rcheAwcuijhqyGnG4k 5BfqMoMa6183wW9eY4vd4N0McTWl5q4= X-MC-Unique: yyvuGAt2PCeSv1e3RnLXfQ-1 From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH v2 03/22] qemu: Make qemuBuildDeviceAddressProps() const correct Date: Wed, 20 Oct 2021 15:02:38 +0200 Message-Id: <20211020130257.534296-4-abologna@redhat.com> In-Reply-To: <20211020130257.534296-1-abologna@redhat.com> References: <20211020130257.534296-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 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.12 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) X-ZM-MESSAGEID: 1634735032313100004 Content-Type: text/plain; charset="utf-8" Signed-off-by: Andrea Bolognani --- src/qemu/qemu_command.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index 1084f5acc7..035943fa96 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -359,7 +359,7 @@ qemuVirCommandGetDevSet(virCommand *cmd, int fd) =20 static char * qemuBuildDeviceAddressPCIGetBus(const virDomainDef *domainDef, - virDomainDeviceInfo *info) + const virDomainDeviceInfo *info) { g_autofree char *devStr =3D NULL; const char *contAlias =3D NULL; @@ -427,7 +427,7 @@ qemuBuildDeviceAddressPCIGetBus(const virDomainDef *dom= ainDef, static int qemuBuildDeviceAddresDriveProps(virJSONValue *props, const virDomainDef *domainDef, - virDomainDeviceInfo *info) + const virDomainDeviceInfo *info) { g_autofree char *bus =3D NULL; virDomainControllerDef *controller =3D NULL; @@ -563,7 +563,7 @@ qemuBuildDeviceAddresDriveProps(virJSONValue *props, static int qemuBuildDeviceAddressProps(virJSONValue *props, const virDomainDef *domainDef, - virDomainDeviceInfo *info) + const virDomainDeviceInfo *info) { switch ((virDomainDeviceAddressType) info->type) { case VIR_DOMAIN_DEVICE_ADDRESS_TYPE_PCI: { --=20 2.31.1