From nobody Wed Oct 29 06:41:43 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1524670538382329.22952322330025; Wed, 25 Apr 2018 08:35:38 -0700 (PDT) Received: from localhost ([::1]:37693 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fBMSD-0007Zo-6r for importer@patchew.org; Wed, 25 Apr 2018 11:35:33 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53176) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fBMQb-0006mj-Tx for qemu-devel@nongnu.org; Wed, 25 Apr 2018 11:33:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fBMQY-0004eU-MO for qemu-devel@nongnu.org; Wed, 25 Apr 2018 11:33:53 -0400 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]:34477) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fBMQY-0004c7-EL for qemu-devel@nongnu.org; Wed, 25 Apr 2018 11:33:50 -0400 Received: by mail-wr0-x244.google.com with SMTP id p18-v6so34571770wrm.1 for ; Wed, 25 Apr 2018 08:33:50 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id o16sm12737867wmi.14.2018.04.25.08.33.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Apr 2018 08:33:48 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id A6A223E009E; Wed, 25 Apr 2018 16:33:47 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=6GMl03JgAACFsk8NFI893+KsJN2aEjFTmhJmVq1+lN0=; b=AxrE+Z89FBD0vBTj2GRhKXdaHq40lxSpCTY561fsYe+rTKcDNtu1PRPwX2h74LZD1P s3nZ7fBv83bg58YHVVHgyGBZ40Xbs9Ns3NUnlyKMbhKJZs3MOxN9q3Xgczp3ZaXdfwam R+UEMJ10kg39+3y9rJckP83FfMulUZRjIo5OY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=6GMl03JgAACFsk8NFI893+KsJN2aEjFTmhJmVq1+lN0=; b=EzHdNyeMeh9y8NK+RkxdObwbug68A7bU8WqyucJdWCOZSJnLOH8VqJc7J2IxCDsdk4 pHNpyxLv1izt6Y3ruZbn2XOZFtSH32bZFoT+RXDV56O6GCkMVFG2daSnBAJsKFQ0rU5m ysdhFnFyvWvZRTdOQH9orQ36khgFfN1WuXaR6ZjGLBhs8QBW0b7qn1fjCOzTcfBHeM3P tmyTyUAuPCscnuGJXBY/VVKim3JYl/vD3KIwosLBLETrhcIEisEc6mAk8Kdmb/rP3X4f kG4SiN9mHT3C5lXwVm5AwZiwPEZcL18FQCYtBvqrfaIvzKCsgoMTc52BM1kmJAJtbbZy eviA== X-Gm-Message-State: ALQs6tDz/nkb9yEuDtjeaEUKD/stoinEFdWVaVNFP4ccnK3an+L1CdC3 qrAcRuR5NNnMZkNuL8ln/TH1Uw== X-Google-Smtp-Source: AIpwx4+68zf5dUXYlF6rrhxCYqw2o1s9XmlywNd7T/ltXLBafERtjwdtdTuijH6Y7D0FzTOqB1XRUQ== X-Received: by 2002:adf:87ab:: with SMTP id b40-v6mr24714763wrb.156.1524670429050; Wed, 25 Apr 2018 08:33:49 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Wed, 25 Apr 2018 16:33:43 +0100 Message-Id: <20180425153343.24023-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::244 Subject: [Qemu-devel] [RFC PATCH] hw/core: expand description of null-machine X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Marcel Apfelbaum , peter.maydell@linaro.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , Eduardo Habkost Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 People following old instructions for QEMU get the message "No machine specified, and there is no default" and run -machine help to pick a new machine. Lay people might consider the null-machine to be such a basic starting point but they won't get far. This leads to confusion, see https://bugs.launchpad.net/qemu/+bug/1766896 as an example. I'm open to better words - I figured "THIS PROBABLY ISN'T WHAT YOU WANT" seemed less helpful though. Signed-off-by: Alex Benn=C3=A9e --- hw/core/null-machine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/core/null-machine.c b/hw/core/null-machine.c index cde4d3eb57..72f0815045 100644 --- a/hw/core/null-machine.c +++ b/hw/core/null-machine.c @@ -50,7 +50,7 @@ static void machine_none_init(MachineState *mch) =20 static void machine_none_machine_init(MachineClass *mc) { - mc->desc =3D "empty machine"; + mc->desc =3D "empty machine (for probing/QMP)"; mc->init =3D machine_none_init; mc->max_cpus =3D 1; mc->default_ram_size =3D 0; --=20 2.17.0