From: Dinah Baum <dinahbaum123@gmail.com>
To: qemu-devel@nongnu.org
Cc: Dinah Baum <dinahbaum123@gmail.com>
Subject: [PATCH v3 0/3] Enable -cpu <cpu>,help
Date: Sun, 30 Jul 2023 02:40:54 -0400 [thread overview]
Message-ID: <20230730064057.357598-1-dinahbaum123@gmail.com> (raw)
This patch adds the ability to query for CPU
features. Currently it is limited to the architecture that
support feature probing (arm, i386, and s390x).
Ex:
athlon features:
3dnow=<qbool>
3dnowext=<qbool>
3dnowprefetch=<qbool>
...
Suggested-by: Peter Maydell
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1480
Dinah Baum (3):
qapi: Moved architecture agnostic data types to `machine`
qapi, target/: Enable 'query-cpu-model-expansion' on all architectures
cpu, softmmu/vl.c: Change parsing of -cpu argument to allow -cpu
cpu,help to print options for the CPU type similar to how the
'-device' option works.
cpu.c | 61 ++++++++++++++
include/exec/cpu-common.h | 7 ++
include/qapi/qmp/qdict.h | 1 +
qapi/machine-target.json | 138 +------------------------------
qapi/machine.json | 130 +++++++++++++++++++++++++++++
qemu-options.hx | 7 +-
qobject/qdict.c | 5 ++
softmmu/vl.c | 35 +++++++-
target/arm/arm-qmp-cmds.c | 7 +-
target/arm/cpu.h | 7 ++
target/i386/cpu-sysemu.c | 7 +-
target/i386/cpu.h | 6 ++
target/s390x/cpu.h | 7 ++
target/s390x/cpu_models_sysemu.c | 6 +-
14 files changed, 273 insertions(+), 151 deletions(-)
--
2.30.2
next reply other threads:[~2023-07-30 7:21 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-30 6:40 Dinah Baum [this message]
2023-07-30 6:40 ` [PATCH v3 1/3] qapi: Moved architecture agnostic data types to `machine` Dinah Baum
2023-07-31 9:54 ` Philippe Mathieu-Daudé
2023-08-01 13:09 ` Markus Armbruster
2023-11-01 2:24 ` Dinah B
2023-11-02 6:59 ` Markus Armbruster
2023-07-30 6:40 ` [PATCH v3 2/3] qapi, target/: Enable 'query-cpu-model-expansion' on all architectures Dinah Baum
2023-08-01 13:44 ` Markus Armbruster
2023-07-30 6:40 ` [PATCH v3 3/3] cpu, softmmu/vl.c: Change parsing of -cpu argument to allow -cpu cpu, help to print options for the CPU type similar to how the '-device' option works Dinah Baum
2023-08-01 13:02 ` Dinah B
2023-08-01 14:09 ` [PATCH v3 3/3] cpu, softmmu/vl.c: Change parsing of -cpu argument to allow -cpu cpu,help " Markus Armbruster
2023-08-01 21:00 ` [PATCH v3 3/3] cpu, softmmu/vl.c: Change parsing of -cpu argument to allow -cpu cpu, help " Dinah B
2023-08-02 5:36 ` [PATCH v3 3/3] cpu, softmmu/vl.c: Change parsing of -cpu argument to allow -cpu cpu,help " Markus Armbruster
2023-11-14 16:22 ` [PATCH v3 3/3] cpu, softmmu/vl.c: Change parsing of -cpu argument to allow -cpu cpu, help " Dinah B
2023-11-14 17:44 ` [PATCH v3 3/3] cpu, softmmu/vl.c: Change parsing of -cpu argument to allow -cpu cpu,help " Markus Armbruster
2023-12-11 6:02 ` [PATCH v3 3/3] cpu, softmmu/vl.c: Change parsing of -cpu argument to allow -cpu cpu, help " Dinah B
2023-07-30 15:15 ` [PATCH v3 0/3] Enable -cpu <cpu>,help Peter Maydell
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=20230730064057.357598-1-dinahbaum123@gmail.com \
--to=dinahbaum123@gmail.com \
--cc=qemu-devel@nongnu.org \
/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).