arm虚拟机
创建磁盘文件
qemu-img create -f qcow2 D:\install\vmspace\arm64Img\CentOS7.qcow2 300G
安装虚拟机系统
qemu-system-aarch64.exe -m 8192 -cpu cortex-a72 -smp 8,sockets=4,cores=2 -M virt -bios D:\install\vmspace\arm64Img\QEMU_EFI.fd -device VGA -device nec-usb-xhci -device usb-mouse -device usb-kbd -drive if=none,file=D:\install\vmspace\arm64Img\CentOS7.qcow2,id=hd0 -device virtio-blk-device,drive=hd0 -drive if=none,file=D:\install\vmspace\arm64Img\CentOS-7-aarch64-Everything-2009.iso,id=cdrom,media=cdrom -device virtio-scsi-device -device scsi-cd,drive=cdrom -net nic -net user,hostfwd=tcp::2222-:22
启动虚拟机系统
qemu-system-aarch64.exe -m 8192 -cpu cortex-a72 -smp 8,sockets=4,cores=2 -M virt -bios D:\install\vmspace\arm64Img\QEMU_EFI.fd -device VGA -device nec-usb-xhci -device usb-mouse -device usb-kbd -drive if=none,file=D:\install\vmspace\arm64Img\CentOS7.qcow2,id=hd0 -device virtio-blk-device,drive=hd0 -drive if=none,file=,id=cdrom,media=cdrom -device virtio-scsi-device -device scsi-cd,drive=cdrom -net nic -net user,hostfwd=tcp::2222-:22
需要的配置文件
https://releases.linaro.org/components/kernel/uefi-linaro/latest/release/qemu64/QEMU_EFI.fd
https://blog.csdn.net/weixin_44255842/article/details/120652227
评论已关闭