From: Song Gao Date: Tue, 7 Feb 2023 09:04:06 +0000 (+0800) Subject: loongarch: Add smbios command line option. X-Git-Tag: qemu-xen-4.18.0-rc5~293^2~3 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=4934cc5850b66e3282b24e203c507330955601dd;p=qemu-xen.git loongarch: Add smbios command line option. LoongArch has enabled CONFIG_SMBIOS, but didn't enable CLI '-smbios'. Fixes: 3efa6fa1e629 ("hw/loongarch: Add smbios support") Acked-by: Michael S. Tsirkin Reviewed-by: Markus Armbruster Reviewed-by: Richard Henderson Signed-off-by: Song Gao Message-Id: <20230227035905.1290953-2-gaosong@loongson.cn> --- diff --git a/qemu-options.hx b/qemu-options.hx index beeb4475ba..d42f60fb91 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -2585,7 +2585,7 @@ DEF("smbios", HAS_ARG, QEMU_OPTION_smbios, " specify SMBIOS type 17 fields\n" "-smbios type=41[,designation=str][,kind=str][,instance=%d][,pcidev=str]\n" " specify SMBIOS type 41 fields\n", - QEMU_ARCH_I386 | QEMU_ARCH_ARM) + QEMU_ARCH_I386 | QEMU_ARCH_ARM | QEMU_ARCH_LOONGARCH) SRST ``-smbios file=binary`` Load SMBIOS entry from binary file.