On 2/26/23 17:59, Song Gao wrote:
LoongArch has enabled CONFIG_SMBIOS, but didn't enable CLI '-smbios'.

Fixes: 3efa6fa1e629 ("hw/loongarch: Add smbios support")
Acked-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Markus Armbruster <[email protected]>
Signed-off-by: Song Gao <[email protected]>
Message-Id: <[email protected]>

Reviewed-by: Richard Henderson <[email protected]>

r~

---
  qemu-options.hx | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

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.


Reply via email to