aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorZhao Liu <zhao1.liu@intel.com>2024-04-24 23:49:10 +0800
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-04-25 12:48:12 +0200
commit8ec0a46347987c74464fe67c42030d074fe8c0f0 (patch)
treec2bef23fe8cf523af39a41489175cf8443514d63 /system
parentdcba73b4453b7ed74d2ae24c5c8b273431c4484c (diff)
downloadqemu-8ec0a46347987c74464fe67c42030d074fe8c0f0.zip
qemu-8ec0a46347987c74464fe67c42030d074fe8c0f0.tar.gz
qemu-8ec0a46347987c74464fe67c42030d074fe8c0f0.tar.bz2
hw/core/machine: Support modules in -smp
Add "modules" parameter parsing support in -smp. Suggested-by: Xiaoyao Li <xiaoyao.li@intel.com> Tested-by: Yongwei Ma <yongwei.ma@intel.com> Signed-off-by: Zhao Liu <zhao1.liu@intel.com> Tested-by: Babu Moger <babu.moger@amd.com> Acked-by: Markus Armbruster <armbru@redhat.com> Message-ID: <20240424154929.1487382-3-zhao1.liu@intel.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'system')
-rw-r--r--system/vl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/system/vl.c b/system/vl.c
index c644222..7756eac 100644
--- a/system/vl.c
+++ b/system/vl.c
@@ -742,6 +742,9 @@ static QemuOptsList qemu_smp_opts = {
.name = "clusters",
.type = QEMU_OPT_NUMBER,
}, {
+ .name = "modules",
+ .type = QEMU_OPT_NUMBER,
+ }, {
.name = "cores",
.type = QEMU_OPT_NUMBER,
}, {