ARM64版我安装成功了,但是同样命令换qemu-system-loongarch64后,无法通过virtio-scsi-device将iso加载到cdrom,说没有virtio-bus!折腾几天了,请教一下高手们,谢谢了。
PS:我的iso是银河麒麟v10龙芯版,qemu是7.2 rc3,安装命令为:
qemu-system-loongarch64 -m 6G -M virt -cpu la464-loongarch-cpu -bios QEMU_EFI.fd -net nic -net tap,ifname=qemu-tap -device nec-usb-xhci -device usb-kbd -device usb-mouse -device virtio-scsi-device -device scsi-cd,drive=cdrom -drive if=none,file=Kylin-Server-V10-SP1-General-Release-2111-LoongArch64.iso,id=cdrom,media=cdrom -drive file=klong.img,if=none,format=raw,id=hd0 -device virtio-blk,drive=hd0 -serial mon:stdio
PS:用论坛共享的那个脚本,启动后则直接显示qemu的compat_monitor0 console,然后就没下文了。
qemu-system-loongarch64 -m 4G -cpu la464-loongarch-cpu -machine virt -bios ./QEMU_EFI_loongson.fd -serial stdio -vga virtio -net nic -net user -device nec-usb-xhci,id=xhci,addr=0x1b -device usb-tablet,id=tablet,bus=xhci.0,port=1 -device usb-kbd,id=keyboard,bus=xhci.0,port=2 -device virtio-blk-pci,drive=test -drive if=none,id=test,media=cdrom,file=archlinux-2022.09.29.3-loong64.iso