From patchwork Tue Mar 5 13:52:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 778040 Delivered-To: patch@linaro.org Received: by 2002:a5d:48c8:0:b0:33e:474f:8c56 with SMTP id p8csp442941wrs; Tue, 5 Mar 2024 05:54:33 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVgckJC8WuUpfIB+XLoJWRWe99SsYw1JgVING1fYFZ4aXc312AXUMgDj3TbPvtRk7NbI5EhyvvFymejzsWvbuCs X-Google-Smtp-Source: AGHT+IGYRR6jioREI8twhRfSrZgfanu2EllQagbb/8FOJqvTlwuA4xpWCVeiorrwajFQv2piD8zo X-Received: by 2002:a05:6214:1747:b0:68f:b9b8:6a87 with SMTP id dc7-20020a056214174700b0068fb9b86a87mr1739492qvb.12.1709646873208; Tue, 05 Mar 2024 05:54:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709646873; cv=none; d=google.com; s=arc-20160816; b=mpNLzD2KizvKgY1mHG9qtd7w/aBydqH/Q6lhxXZNOiwFstj9OMQbSBSIZJyV7WfiL3 uqHY7s7zkHnM9pwsiBOiNIr28rKxbK26n/COM+gfqN/OF2GmVOqIK13Wwy8G3xlrbGdC ytXnkQmzpZbY7+HhLhIOoidc5TY3a34gpOyHCfS6WS4fvF0wshxi/qSUL/4eiK1jyCTn 53A3HFT6kuB2W1VHmPVl+z0N1YPlnSv36uWfMcDkLu7n5p+p7uLEeu+yPMfrPe9qYoIk htnIGMrsKe+qOh4cLI/BcsVMha3Rg1JMOdhkYR8xlhpl4Irlo35h5/X3vHlmlRqVgo0t yo0w== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=uKoVEk1QGKUdsSjizVrNW7gmKUKZFVK6gFXUR6BEh58=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=ADNqcrsIDnx6QDd9FCQfxZH+bnHxFrWcqeh5oPsyiBVv/4m0CAnxWpWFmJE9Rp/Bzj LdAyUHa1OTNHBbDgmGJFhX/9GYzHUG3zSHoeG6oz+P/LlD1Aeij8DPmYiyfTG/NuBzIU Oapj3c2mn3BacEj66SUH6Rk0CDpTS79j7uJMubzZAUr2NnvfgYhKQexoGqpw9w2WScLN Aaz9qVBGWgB+ZgPLpJQfnSWEfl3mvThZu36ZXdjYj4TL6w9dChRuFNRYWU28iwyfz0je XzDKRcoFf5dTpI6HzvXY2rhDmOzNgfmHupPvxjC8pQ6pwG4Ut715VJhzFcpk91ZJ3tvK o5iw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BATeu6Y0; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 7-20020a0562140dc700b0068c83271adcsi12161048qvt.228.2024.03.05.05.54.33 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 05 Mar 2024 05:54:33 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=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=@linaro.org header.s=google header.b=BATeu6Y0; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rhVF0-0002EP-5z; Tue, 05 Mar 2024 08:53:58 -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 1rhVE7-0000yW-HG for qemu-devel@nongnu.org; Tue, 05 Mar 2024 08:53:09 -0500 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rhVDt-0005yp-Uy for qemu-devel@nongnu.org; Tue, 05 Mar 2024 08:53:01 -0500 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-412e96284b9so5839505e9.3 for ; Tue, 05 Mar 2024 05:52:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709646768; x=1710251568; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=uKoVEk1QGKUdsSjizVrNW7gmKUKZFVK6gFXUR6BEh58=; b=BATeu6Y0VC54DjpZRFLbWJ39l61jZff0kQDAA1CPBUOhaaX14hHeMq1eOANBSD29Xs d3WRzY7UqgnaJHHtLyW2EPolKbP6vDMCZJ2eTKRfTkGfhVignKvNyttdoxhBOS/W1HtG lNmWVpsRgrHpD/WP0Y6SwIa/X15G2JUWNHKY1c+8T6sKlCAan0vIJ2Ib0yNQ1Y9X4nAN 4QeglGroIxsK+VDwMusQG/6T2/DNR/gtCshzRWU/eIfRI8JL1tFDgRSl0js/Fg0oTnla qrRKnPXCrgzfBjjIGFvvX1MlxgxlfhEd+p4tKEaVRP8y1EGqVr4l/NvlUSwxu5y0qWZ+ Ss2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709646768; x=1710251568; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uKoVEk1QGKUdsSjizVrNW7gmKUKZFVK6gFXUR6BEh58=; b=BpkDm0r/mdMX8BnFmVVQh/hYbQ2I8oolZDXMGdHkwrp0aeHKU0gLlGcl2JdKihcI1P BYxf+B+k9Y3FCW7KLSEEQ4LF+Mv6hnjrOGZi7Kjza8laKCFewo7HvEX8EASqQDDKh4Au ar390woWCMnkhHmdCyKW/XudH1FI+XVmcd2xUoyQ1Yt5mDO2OFUX87Pf+etxcwoaSVnN 1MQTGV1lww4lAjmuV/TNS8jhIUjdPN97GQC/Pn+0v6UF8JARhIhffvfbZPN6ex+WwUgq Gal0DM9p6vC3hJ0wo0+QGimLsLrbmbufqPe1gqyNzAwe/L1dukyVtxV7wM1SJJCj+cvd 2OiA== X-Gm-Message-State: AOJu0YyGkJTGiHAcN+2Fw4l9aWNYE21shAl/G7mzPLKSFFPXr0wF+CkT z0iYN32C6JrgDewXCAHrGWE3uVsoSNTUbb4IOj94k7mA5XkXcLpPrpcPXoqa5/rjp1NeRfQ/EPp M X-Received: by 2002:a05:600c:444f:b0:412:efed:28e2 with SMTP id v15-20020a05600c444f00b00412efed28e2mr630161wmn.41.1709646768591; Tue, 05 Mar 2024 05:52:48 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id x3-20020a5d6503000000b0033e206a0a7asm11797532wru.26.2024.03.05.05.52.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 05:52:48 -0800 (PST) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 20/20] qemu-options.hx: Don't claim "-serial" has limit of 4 serial ports Date: Tue, 5 Mar 2024 13:52:37 +0000 Message-Id: <20240305135237.3111642-21-peter.maydell@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240305135237.3111642-1-peter.maydell@linaro.org> References: <20240305135237.3111642-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x32a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Steven Shen Before v2.12, the implementation of serial ports was limited to a value of MAX_SERIAL_PORTS = 4. We now dynamically allocate the data structures for serial ports, so this limit is no longer present, but the documentation for the -serial options still reads: "This option can be used several times to simulate up to 4 serial ports." Update to "This option can be used several times to simulate multiple serial ports." to avoid misleading. Signed-off-by: Steven Shen Message-id: 20240305013016.2268-1-steven.shen@jaguarmicro.com Reviewed-by: Peter Maydell [PMM: tweaked commit message] Signed-off-by: Peter Maydell --- qemu-options.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu-options.hx b/qemu-options.hx index 9a47385c157..ac4a30fa834 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -4129,7 +4129,7 @@ SRST default device is ``vc`` in graphical mode and ``stdio`` in non graphical mode. - This option can be used several times to simulate up to 4 serial + This option can be used several times to simulate multiple serial ports. You can use ``-serial none`` to suppress the creation of default