From: dave@treblig.org
To: qemu-trivial@nongnu.org, mjt@tls.msk.ru, laurent@vivier.eu,
thuth@redhat.com
Cc: jak@jak-linux.org, qemu-devel@nongnu.org,
"Dr. David Alan Gilbert" <dave@treblig.org>
Subject: [PATCH] qemu-options.hx: Replace deprecated -M example
Date: Tue, 2 Dec 2025 00:57:40 +0000 [thread overview]
Message-ID: <20251202005740.299524-1-dave@treblig.org> (raw)
From: "Dr. David Alan Gilbert" <dave@treblig.org>
The -M option was deprecated by -machine in 2011 by 80f52a669
and isn't actually documented in the manpage, but is still used in
one of the examples. Replace it by -machine.
-M still gets used all over the place in other docs, and I'm
not sure I realised it was deprecated until Julian pointed out it
wasn't actually documented.
Reported-by: Julian Andres Klode <jak@jak-linux.org>
Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org>
---
qemu-options.hx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qemu-options.hx b/qemu-options.hx
index fca2b7bc74..9cd0b7173c 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -481,7 +481,7 @@ SRST
::
- -M pc \
+ -machine pc \
-smp 1,sockets=2,maxcpus=2 \
-numa node,nodeid=0 -numa node,nodeid=1 \
-numa cpu,node-id=0,socket-id=0 -numa cpu,node-id=1,socket-id=1
--
2.52.0
next reply other threads:[~2025-12-02 0:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-02 0:57 dave [this message]
2025-12-02 7:14 ` [PATCH] qemu-options.hx: Replace deprecated -M example Thomas Huth
2025-12-02 7:47 ` Paolo Bonzini
2025-12-02 12:30 ` Dr. David Alan Gilbert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251202005740.299524-1-dave@treblig.org \
--to=dave@treblig.org \
--cc=jak@jak-linux.org \
--cc=laurent@vivier.eu \
--cc=mjt@tls.msk.ru \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
--cc=thuth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).