From nobody Fri May 17 22:44:27 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1652291605; cv=none; d=zohomail.com; s=zohoarc; b=edt3oyJUTNI1KgQNA+D+La0yKVZEW0SFvFoAEre3IA/rfnmbPwKFn8WHAE31SAuJKHNrJbvCiOmKC1U58wOIAnuaN7OHJqbycU8Oac3XeAjRjIKPR2Aywg4mQrnQ46qTtWcRgUljiAW7ROZREKkOF5FXouqA0L4ursFdlSD9iYM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1652291605; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=BlEAodg4zF4sD8i9lvHVsT1B44n8s2aq0JCNm2QmXiY=; b=Ekdn553eqOPdK1+DMHCdKDlaXCVj2lSEwKttteFuPmovda9f5dbFiF4I8MRL6OTT+vXz3q/dzFCtATk0kVb/3le0tTou78d1mVC6jM9Fhxo10rFlvCBI9TCI9GO6PUBOBy8J5ZB+B8rI/OgzWKW+L6nDO9XO/NQ41XMTeWUWbII= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1652291605644647.711964769601; Wed, 11 May 2022 10:53:25 -0700 (PDT) Received: from localhost ([::1]:53818 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1noqWa-0003QD-JC for importer@patchew.org; Wed, 11 May 2022 13:53:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59718) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1noqUP-0001Aw-M9 for qemu-devel@nongnu.org; Wed, 11 May 2022 13:51:09 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:20055) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1noqUK-0004bD-KE for qemu-devel@nongnu.org; Wed, 11 May 2022 13:51:08 -0400 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-240-NdWT5yHON6Gm6-GWBJu7DQ-1; Wed, 11 May 2022 13:50:44 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 69794101AA42 for ; Wed, 11 May 2022 17:50:44 +0000 (UTC) Received: from virtlab511.virt.lab.eng.bos.redhat.com (virtlab511.virt.lab.eng.bos.redhat.com [10.19.152.198]) by smtp.corp.redhat.com (Postfix) with ESMTP id 57069C28106 for ; Wed, 11 May 2022 17:50:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1652291461; h=from:from: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; bh=BlEAodg4zF4sD8i9lvHVsT1B44n8s2aq0JCNm2QmXiY=; b=DOY/CHCG4kRpm+GyM/pIyyGl70jH4jdnM1lUVPu4D723OcM17v5SycDS2uYKqwIqX9sMkv fWd9VBKKxbH925NTH/vWyg4w3qtNNvLg+ZqZzYZJHpW48J0S8I4PGD9G+gsgSaymSCQcWm LEZwDVSGuy4bPLn55oeaBBo8O9pTwRo= X-MC-Unique: NdWT5yHON6Gm6-GWBJu7DQ-1 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PATCH] qapi: make machine type deprecation a warning Date: Wed, 11 May 2022 13:50:43 -0400 Message-Id: <20220511175043.27327-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.85 on 10.11.54.8 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@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-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1652291607454100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: Paolo Bonzini Reviewed-by: Markus Armbruster --- softmmu/vl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/softmmu/vl.c b/softmmu/vl.c index c2919579fd..fbef0f5c5f 100644 --- a/softmmu/vl.c +++ b/softmmu/vl.c @@ -3723,7 +3723,7 @@ void qemu_init(int argc, char **argv, char **envp) =20 machine_class =3D MACHINE_GET_CLASS(current_machine); if (!qtest_enabled() && machine_class->deprecation_reason) { - error_report("Machine type '%s' is deprecated: %s", + warn_report("Machine type '%s' is deprecated: %s", machine_class->name, machine_class->deprecation_reaso= n); } =20 --=20 2.31.1