Received: by 2002:a17:906:3588:b0:a45:b507:d90a with SMTP id o8csp1643264ejb; Thu, 7 Mar 2024 23:25:43 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUP37m+odChNz8gWjF/mToszmtdoiXAtCwZoLKbaoEZvk/EjZQhKU/F/wdQ2osEDv30P1dZN7t1bWra+79YJZ9T3dSEOJ4N X-Google-Smtp-Source: AGHT+IGryKQ/L2xFRuAFTEjM2DLII/ZIoHZHwOQAM8/g7yzrVk4lFZauSZJYQxdVInCOwxrHbS3l X-Received: by 2002:a05:620a:1011:b0:788:41f3:5b2d with SMTP id z17-20020a05620a101100b0078841f35b2dmr5347199qkj.37.1709882743589; Thu, 07 Mar 2024 23:25:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709882743; cv=none; d=google.com; s=arc-20160816; b=CGHhGL5Tr1yf6heRFh6sKA48MwjSmHzCZCpmUQqZ38tbm1VNKNoJ3gyZcqwV+iPapW GgStZc3bSOrYj+h2tkXSqi0QwfzZ2beH1te+J1hy72HHr2m+clrZHL/+OX2/OyTKmeom XTUzILCzWC2yxylt+YdXtaRqAm9p4PQ9ys1pQcnYqW5WaYe+i9MExMkaHkl7ec+5DJii vfkw24mqOuMYnnT8tjW/7tWuOC5JtwZdmE8gCenE/ntQVS9HRmbwEODVQntdF/h67oRf 3Af3+OtX1dcnTGKmu2rPYwpMLm7DaMXLWwVGDfAY5kQu6hOUwNP6WNmlP6+O4MqXnhh3 eUMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version:user-agent :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=NUCX38nsfWLGd1zur03ZYboPhZ72697LbB/4iuf59Xw=; fh=5RvRCGLOdP26r1aXQ46SyJw5X5H+SU+s1OBVwYlGm48=; b=0Pr8dsgf292hAUSp7GwI/dqBzxWH7u+ww88td8CtASZ/BLiggHeFgZTcy965VxQ/K+ Gji6CFGQ0uFEs3UBLLvgipvgKuz900uOVugAhNS+VYCls5OnR7j7JWpCTi8DDMi7X0zk Ms75ZiGUQ74bowVoPGL79uAgM5CD5WuuxWWRD2617Iep/ZDq4kHHk4zfNuVZEqZK5Cum LjLm0ktWmKcKp8x48gblTQ5H3MNpzbk5lxtWtbWx7SeNsd/5xFJ6RDFdaIe6huis2nDb QF7H2DfroyRtqL2jB/DhRKVkbeA1rqE2uERiB1WVTl/Rbd6HCz9S9rF+2haBYp3Lmjob Tbag==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=EIedzAlN; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id b15-20020a05620a118f00b0078834cb8112si7704054qkk.269.2024.03.07.23.25.43 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Mar 2024 23:25:43 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=EIedzAlN; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1riUbW-0007uU-D9; Fri, 08 Mar 2024 02:25:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1riUbV-0007u6-2t for qemu-arm@nongnu.org; Fri, 08 Mar 2024 02:25:17 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1riUbS-0004J8-Ty for qemu-arm@nongnu.org; Fri, 08 Mar 2024 02:25:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1709882714; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NUCX38nsfWLGd1zur03ZYboPhZ72697LbB/4iuf59Xw=; b=EIedzAlNi5QeKqynlbSK8cdYUmrcHDog3fO+GTwXI/ydQmxKQQFL+YSP7JSQtLV4jp/36K 6eeB9qA3SJYhEOdfzKh80eUM4eQ6f0dJJjaWeSzvkU764/VN6lQlbjR6pujM6PP8CaA3qA 6qS7q58oVDYIXDYyNbMdkQYt3EfhdEI= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-304-ZiwKoPKJPyq9JWpdHOpcgQ-1; Fri, 08 Mar 2024 02:25:09 -0500 X-MC-Unique: ZiwKoPKJPyq9JWpdHOpcgQ-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 3B1C489CECA; Fri, 8 Mar 2024 07:25:09 +0000 (UTC) Received: from blackfin.pond.sub.org (unknown [10.39.192.3]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 04F4B1C05E1C; Fri, 8 Mar 2024 07:25:07 +0000 (UTC) Received: by blackfin.pond.sub.org (Postfix, from userid 1000) id CA81321E6A24; Fri, 8 Mar 2024 08:25:06 +0100 (CET) From: Markus Armbruster To: Igor Mammedov Cc: qemu-devel@nongnu.org, peter.maydell@linaro.org, pbonzini@redhat.com, mst@redhat.com, gaosong@loongson.cn, alistair.francis@wdc.com, palmer@dabbelt.com, bin.meng@windriver.com, liwei1518@gmail.com, dbarboza@ventanamicro.com, zhiwei_liu@linux.alibaba.com, anisinha@redhat.com, philmd@linaro.org, wangyanan55@huawei.com, eblake@redhat.com, qemu-arm@nongnu.org, qemu-riscv@nongnu.org, f.ebner@proxmox.com Subject: Re: [PATCH v2 14/20] smbios: extend smbios-entry-point-type with 'auto' value In-Reply-To: <20240305155724.2047069-15-imammedo@redhat.com> (Igor Mammedov's message of "Tue, 5 Mar 2024 16:57:18 +0100") References: <20240305155724.2047069-1-imammedo@redhat.com> <20240305155724.2047069-15-imammedo@redhat.com> Date: Fri, 08 Mar 2024 08:25:06 +0100 Message-ID: <87jzmd6v8t.fsf@pond.sub.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.7 Received-SPF: pass client-ip=170.10.133.124; envelope-from=armbru@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.583, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org X-TUID: 3km1MVDF3ezq Igor Mammedov writes: > later patches will use it to pick SMBIOS version at runtime > depending on configuration. > > Signed-off-by: Igor Mammedov > Acked-by: Markus Armbruster > Reviewed-by: Ani Sinha > Tested-by: Fiona Ebner > --- > qapi/machine.json | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/qapi/machine.json b/qapi/machine.json > index bb5a178909..6bdc71dc8c 100644 > --- a/qapi/machine.json > +++ b/qapi/machine.json > @@ -1797,10 +1797,13 @@ > # > # @64: SMBIOS version 3.0 (64-bit) Entry Point > # > +# @auto: Either 2.x or 3.x SMBIOS version, 2.x if configuration can be > +# described by it and 3.x otherwise (since: 9.0) Please format like # @auto: Either 2.x or 3.x SMBIOS version, 2.x if configuration can be # described by it and 3.x otherwise (since: 9.0) > +# > # Since: 7.0 > ## > { 'enum': 'SmbiosEntryPointType', > - 'data': [ '32', '64' ] } > + 'data': [ '32', '64', 'auto' ] } > > ## > # @MemorySizeConfiguration: