英文:
How to check the configuration keys available for a QEMU cpu?
问题
根据QEMU用户手册,我应该能够使用-cpu max,help
来查看有关选项的更多信息。
从下面的示例命令中,似乎pauth-impdef
可以用于配置-cpu max
。
-cpu max,pauth-impdef=on
所以我尝试像下面这样检查-cpu max
的其他配置选项:
qemu-system-aarch64 -M virt -cpu max,help
但我得到的错误是:
qemu-system-aarch64: 预期的键=值格式,找到help。
这基本上没有提供有用的信息。那么我应该怎么办?
英文:
According to the QEMU user manual, I should be able to use the ,help
to check the further info about an option.
From the sample command below, it seems pauth-impdef
can be used to configure the -cpu max
.
-cpu max,pauth-impdef=on
So I try to check what other configurations are available for -cpu max
like below:
qemu-system-aarch64 -M virt -cpu max,help
But what I got is:
> qemu-system-aarch64: Expected key=value format, found help.
This basically says nothing useful. So what should I do?
答案1
得分: 1
对于 Arm 架构,CPU 特性选项在此页面中有文档记录。该页面还描述了如何探测支持的特性名称,如果您需要自动化执行此操作。
我同意如果在 -cpu 选项上可以使用 'help' 就会很好,因此我已经提交了一个愿望清单 Bug。
英文:
For Arm, the CPU feature options are documented <a href="https://www.qemu.org/docs/master/system/arm/cpu-features.html">on this page</a>. The page also describes how to probe for supported feature names if you need to automate that.
I agree that it would be nice if 'help' worked on the -cpu option, so I've filed <a href="https://gitlab.com/qemu-project/qemu/-/issues/1480">a wishlist bug</a> about that.
答案2
得分: 0
我们可以使用QMP(QEmu Monitor Protocol)命令来检查许多内容,包括一些可用的配置条目。
有关如何交互式运行QMP,请查看:
https://wiki.qemu.org/Documentation/QMP
英文:
We can use QMP (QEmu Monitor Protocol) commands to check a lot of things, including some available configuration entries.
For how to run QMP interactively, check:
https://wiki.qemu.org/Documentation/QMP
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论