From: Bibo Mao Date: Fri, 13 Sep 2024 09:52:02 +0000 (+0800) Subject: hw/loongarch/virt: Add description for virt machine type X-Git-Tag: v9.2.0-rc0~75^2~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4265b4f358436252ef36164566f316458f1df671;p=thirdparty%2Fqemu.git hw/loongarch/virt: Add description for virt machine type The description about virt machine type is removed by mistake, add new description here. Here is output result with command "./qemu-system-loongarch64 -M help" Supported machines are: none empty machine virt QEMU LoongArch Virtual Machine (default) x-remote Experimental remote machine Without the patch, it shows as follows: Supported machines are: none empty machine virt (null) (default) x-remote Experimental remote machine Fixes: ef2f11454c(hw/loongarch/virt: Replace Loongson IPI with LoongArch IPI) Signed-off-by: Bibo Mao Reviewed-by: Thomas Huth Reviewed-by: Michael Tokarev Signed-off-by: Michael Tokarev --- diff --git a/hw/loongarch/virt.c b/hw/loongarch/virt.c index 81b1f9486fa..75980b6e3c7 100644 --- a/hw/loongarch/virt.c +++ b/hw/loongarch/virt.c @@ -1403,6 +1403,7 @@ static void virt_class_init(ObjectClass *oc, void *data) mc->init = virt_init; mc->default_cpu_type = LOONGARCH_CPU_TYPE_NAME("la464"); mc->default_ram_id = "loongarch.ram"; + mc->desc = "QEMU LoongArch Virtual Machine"; mc->max_cpus = LOONGARCH_MAX_CPUS; mc->is_default = 1; mc->default_kernel_irqchip_split = false;