安装qemu,QEMU for Windows – Installers (64 bit) (weilnetz.de)
arm镜像使用国产麒麟,https://distro-images.kylinos.cn:8802/web_pungi/download/share/3VmKdH7k5zBWosL2veXDr8fuN6ZxPRqp/
创建硬盘:
.\qemu-img.exe create -f qcow2 F:\qemu\arm64\kylindisk.qcow2 60G
启动虚拟机:
.\qemu-system-aarch64.exe -m 8000 -cpu cortex-a72 -smp 8,cores=8,threads=1,sockets=1 -M virt -bios F:\qemu\uefi\QEMU_EFI.fd -net nic,model=pcnet -device nec-usb-xhci -device usb-kbd -device usb-mouse -device VGA -drive if=none,file=F:\qemu\iso\Kylin-Desktop-V10-SP1-General-Release-2303-ARM64.iso,id=cdrom,media=cdrom -device virtio-scsi-device -device scsi-cd,drive=cdrom -drive if=none,file=F:\qemu\arm64\kylindisk.qcow2,id=hd0 -device virtio-blk-device,drive=hd0