From patchwork Wed Apr 25 15:33:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 134346 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp1014703lji; Wed, 25 Apr 2018 08:34:19 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpdhQWoQ8CD7LfFsNiKKuhXJ34ulgPxPxLunN39Ltk+4x3Xg2hOKh6pri52KSWYK3zkeCfK X-Received: by 10.55.175.6 with SMTP id y6mr31122705qke.58.1524670459686; Wed, 25 Apr 2018 08:34:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524670459; cv=none; d=google.com; s=arc-20160816; b=aBH/P+c83FeyHIoN7X70dC/rxmDekjEqwhnMEdUpDHTtMv4V01YCmR5XzhHa0sdGOd JCyFzq/yo72Fo3grPbT/oPcnVicVQHJ7WeSLvxKPL9lxF/IrEfy23a814S7AvAxt2Fy0 Y24UIskWDT2Q0Lo/Noln51cMhFr7NNFCApeZl8VvMYE0VZ9dyIm7RreqWdAgEgO8Giv1 WsPe7ZF8WLcziF1kqwEy1dvi3+UFe9tm9CHEBYhBiTg09XYfEmHpt+FGLqgpZrL20Q4/ qIz5tqlRfxsUwTW2StAbbi/LoHFZKEXtEv1scJ4cdEyaj/+fnoM29j6rpVQM7vnxYzL8 D85A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:message-id:date:to:from :dkim-signature:arc-authentication-results; bh=6GMl03JgAACFsk8NFI893+KsJN2aEjFTmhJmVq1+lN0=; b=hJwIjKGMwl6Mqts3FrOAEfvp2tQ2WfwlNIhMuOYBttbSOh5YaD9e0r3LyU/DxIOB2b TKvoYwI/BmZeD4OSkrAzYfO2o00/ySjf33P9SwIWyc9wX/Y6cOTSTb3npYZWp9n5A6ej TBSkcuFLbD7Esfzp0QHDhnHubf43m2Xl0NVjdQV4X2E5VINlLIbQ++zOA2ok2hQrmygn oe+LkdtvBZJ6QFso3/yf6pSv/PisJJzo2LPRvxJS1EAbxq/+99GJ+dp8Ll8GBoTizCNg +gCw3TnBFlGRh3VKwmLT0Xjiq8ptV9aRGkMpvJvBigXlmqfw9GAokxDqXWRGIQ31QZg9 e/Rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=AxrE+Z89; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id a12si125589qkc.41.2018.04.25.08.34.19 for (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 25 Apr 2018 08:34:19 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=AxrE+Z89; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:37686 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fBMR1-0006oS-6p for patch@linaro.org; Wed, 25 Apr 2018 11:34:19 -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) 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-Received: by 2002:adf:87ab:: with SMTP id b40-v6mr24714763wrb.156.1524670429050; Wed, 25 Apr 2018 08:33:49 -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) From: =?utf-8?q?Alex_Benn=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 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_Benn=C3=A9e?= , Eduardo Habkost Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" 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ée --- hw/core/null-machine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.0 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) static void machine_none_machine_init(MachineClass *mc) { - mc->desc = "empty machine"; + mc->desc = "empty machine (for probing/QMP)"; mc->init = machine_none_init; mc->max_cpus = 1; mc->default_ram_size = 0;