From nobody Sun Feb 8 04:18:15 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.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.133.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=1665163392; cv=none; d=zohomail.com; s=zohoarc; b=a83e1hvQTAzX3JvMvbd3B/mZbB+Zc00cA2QaME+cZll4e2Zv4H1xN+AYB8+jg9B0lG/E6lefV9Izd4/2JMYR6+OAlc7KHuiV9lDdmIzreuALo85eBW2GclvPaLcRe/4DYsoEN06BGHvIoUKqmj6kosLokzXXfiKYE8OjB6gR63s= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1665163392; 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=9ZYJaxXGG1/UKGNKLdVeIeGuL8qw7fwpX8pfNA4a5dM=; b=c73p6a2vuFRVhBzu9/5A1u4xdDEeR4BozErj38VNu+DxdGf6mQvhiV0tvgzI54ldBgxOLvUcSPPk8hYWigdYwJ7Urj8BhwNldqblWOGRyyiTVbSzTsMr9oLFkMDD20hwRtChir4LPXj+m1qmeBJVGcnIuAfGP19Ao/U68gwMq1c= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.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.133.124]) by mx.zohomail.com with SMTPS id 1665163392378762.4448712316615; Fri, 7 Oct 2022 10:23:12 -0700 (PDT) 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-556-ng81fFcvOQm0R692pBr4Rg-1; Fri, 07 Oct 2022 13:22:12 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B3EE7100EDC3; Fri, 7 Oct 2022 17:22:04 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id A051CAB585; Fri, 7 Oct 2022 17:22:04 +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 A289F1946A66; Fri, 7 Oct 2022 17:22:01 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 339721946595 for ; Fri, 7 Oct 2022 17:21:57 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 26320535D26; Fri, 7 Oct 2022 17:21:57 +0000 (UTC) Received: from rein.int.mamuti.net (unknown [10.40.194.60]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 00CB553595F for ; Fri, 7 Oct 2022 17:21:56 +0000 (UTC) Received: by rein.int.mamuti.net (Postfix, from userid 500) id 2EBA0180101; Fri, 7 Oct 2022 19:21:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1665163391; 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=9ZYJaxXGG1/UKGNKLdVeIeGuL8qw7fwpX8pfNA4a5dM=; b=AAZUO0tlXUQXw/koUw3501i5trUIssJVqfmvcS2aSEv017TbMTJwjmm93k/YyEnuq1Lnr3 G0S/AO0q8i87WN+4JoiCKJefBATzaicnxEtjV/TWgAIiYd7lhHn/HTgmDdgFxe6Kam/aFj 6V0nYXgmc3c8fx1aagZcybJACaJYqJE= X-MC-Unique: ng81fFcvOQm0R692pBr4Rg-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Jiri Denemark To: libvir-list@redhat.com Subject: [libvirt PATCH v2 08/14] cpu_arm: Don't implement virCPUGetVendorForModel Date: Fri, 7 Oct 2022 19:21:45 +0200 Message-Id: <39cb473ab7d1eb331c25b1ba91ef715d58f8a9ee.1665162978.git.jdenemar@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 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.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1665163393166100001 This patch is effectively a no-op, but I wanted to initialize .getVendorForModel explicitly as implementing this function does not even make sense on ARM. The CPU models in our CPU map are only used for describing host CPU in capabilities XML and cannot be used for guest CPU definition in domain XML anyway. The CPU models listed as supported in domain capabilities XML are just passed through from QEMU. Signed-off-by: Jiri Denemark Reviewed-by: J=C3=A1n Tomko --- Notes: Version 2: - no change src/cpu/cpu_arm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cpu/cpu_arm.c b/src/cpu/cpu_arm.c index 599bb836ed..409b397155 100644 --- a/src/cpu/cpu_arm.c +++ b/src/cpu/cpu_arm.c @@ -714,6 +714,7 @@ struct cpuArchDriver cpuDriverArm =3D { #endif .decode =3D NULL, .encode =3D NULL, + .getVendorForModel =3D NULL, .dataCopyNew =3D virCPUarmDataCopyNew, .dataFree =3D virCPUarmDataFree, .baseline =3D virCPUarmBaseline, --=20 2.38.0