From nobody Mon Feb 9 09:34:27 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=philmd@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=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1635548522; cv=none; d=zohomail.com; s=zohoarc; b=CIpvfrmRCbdudNC1AEh4Zji43ZFb8np2eT4kavq0CXSWxg1/2ZgaF0R3C7FNPQHOm1HTt0CwClCXLvS2A+iFAcspYTRhNbNxXLRIQ5nvoutemW1JOGthI/1RgLBoZNSoN/8q3d6w7EbTLXhjFThQfUnnD7k6BQWYA6wz6bSzdYY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1635548522; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=1KYz/UdhAmH8P9QWlY1OZZZXezRyAQ5qqSfYZdu5lm4=; b=MH+4bE6QPGRTiuBM71zQ8mHkdyFv+QDqXQWXPnnQRJ7OEqkW9uKOb2kqnHampdTQL5Ixyw5p5jg2DToQAhTQc4iioWRMm/EPfwRs5EPOK+wwkBvVDhK561QOHTUdOe1G88Ot6hxTEfCJxYCy1xI6dr/OSQVJuQ7ZwB0iTuO7liU= 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=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) 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 1635548522331964.9904244149503; Fri, 29 Oct 2021 16:02:02 -0700 (PDT) Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-500-DE-H2w7QM96IWTwHAudxeg-1; Fri, 29 Oct 2021 19:01:59 -0400 Received: by mail-wr1-f69.google.com with SMTP id a15-20020a056000188f00b00161068d8461so4166338wri.11 for ; Fri, 29 Oct 2021 16:01:59 -0700 (PDT) Return-Path: Return-Path: Received: from x1w.redhat.com (62.red-83-57-168.dynamicip.rima-tde.net. [83.57.168.62]) by smtp.gmail.com with ESMTPSA id j8sm438981wrh.16.2021.10.29.16.01.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Oct 2021 16:01:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1635548521; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1KYz/UdhAmH8P9QWlY1OZZZXezRyAQ5qqSfYZdu5lm4=; b=MSK5N5gHWkmMKVBasDc/Ke+ThG6T1QBzQT7stTvmTXXE1TjXSwOcznP5gve45Yz9AQWXXr FfxP+JEt4/l3nTGJId2rcAXQU/EO5ypOUV9gOPFBFXcEYFaU7T8gDKL+q7jo8FhP4HLmmK 1lT01WyRaHzxovpw1q6AR9BV6kI+1B8= X-MC-Unique: DE-H2w7QM96IWTwHAudxeg-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1KYz/UdhAmH8P9QWlY1OZZZXezRyAQ5qqSfYZdu5lm4=; b=FhaiVK3cgE7PWkYOCQRTCWMRCf/C1gmN+gnjcvqpeY/zS3/Eb1wA/shMcFejyzFOBr 1E6fYTga/zg+dwcTUZCRet8eonncnNyT6ktTW1RbERg6aJ+YfX+5pfDzE/4g6P/WLF7j pzhBCHvY4yKt6NMvOcOrbeIZe0gWZumcBP4COzzqdU+Dzv86egWCNOyfdnnSbse47B9o 4wxc38RH0g+nxU7AhM7+np7NpKY1msCLG/Ii0Q0cHVSp2uQdVe0txtHuUQvqVaP1K50r YUsjR/1HmCVERQjUaMQQff7TRCLDK/330TtOVQU+o7rVB9XGKDCoe/rWzWWloDakyvwU d7ZQ== X-Gm-Message-State: AOAM533JtSbztClkJ/4/AQLSNOy11RYDB5KRAfdaK2Yml5QSTl4MGyWG plosZp6DA31FtDyLC/VCCWSifnveZKW3/sTOovWcoRaFoqEAkRRQEeZlOObvDCeRdS7VwCAIPTC 5NoipSCwjrETx3A== X-Received: by 2002:adf:d082:: with SMTP id y2mr9309843wrh.214.1635548518449; Fri, 29 Oct 2021 16:01:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyqd3jLhb642v19dO3IYaGDIiNE2tHrW5aU1ws2A8YhfwZyL+M3vSzld+QTwXSbKxWAv/pUiQ== X-Received: by 2002:adf:d082:: with SMTP id y2mr9309828wrh.214.1635548518336; Fri, 29 Oct 2021 16:01:58 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , "Dr. David Alan Gilbert" , Marcel Apfelbaum , Damien Hedde , Eduardo Habkost , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Markus Armbruster , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Paolo Bonzini Subject: [PATCH 2/5] hw/core: Remove use of QERR_FEATURE_DISABLED Date: Sat, 30 Oct 2021 01:01:44 +0200 Message-Id: <20211029230147.2465055-3-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211029230147.2465055-1-philmd@redhat.com> References: <20211029230147.2465055-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com 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: 1635548525217100003 QERR_FEATURE_DISABLED definition is obsolete since 2015 (commit 4629ed1e989, "qerror: Finally unused, clean up"). Replace it. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- hw/core/machine-qmp-cmds.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/core/machine-qmp-cmds.c b/hw/core/machine-qmp-cmds.c index 216fdfaf3a0..f2eff433bf0 100644 --- a/hw/core/machine-qmp-cmds.c +++ b/hw/core/machine-qmp-cmds.c @@ -138,7 +138,8 @@ HotpluggableCPUList *qmp_query_hotpluggable_cpus(Error = **errp) MachineClass *mc =3D MACHINE_GET_CLASS(ms); =20 if (!mc->has_hotpluggable_cpus) { - error_setg(errp, QERR_FEATURE_DISABLED, "query-hotpluggable-cpus"); + error_setg(errp, + "The feature 'query-hotpluggable-cpus' is not enabled"); return NULL; } =20 --=20 2.31.1