|
|
@pushd "%~dp0"
qemu9250\qemu-system-aarch64.exe ^
-machine virt,virtualization=on,gic-version=3 ^
-cpu cortex-a72 ^
-smp 4 ^
-m 4G ^
-drive if=pflash,format=raw,readonly=on,file=bios\QEMU_EFI-pflash.raw ^
-drive if=pflash,format=raw,file=bios\vars-template-pflash.raw ^
-device ramfb ^
-device qemu-xhci ^
-device usb-kbd ^
-device usb-tablet ^
-device usb-storage,drive=install,bootindex=0 ^
-drive id=install,if=none,media=cdrom,file=arm64pe.iso ^
-device virtio-blk-device,drive=system,bootindex=1 ^
-drive id=system,if=none,media=disk,format=qcow2,file=arm64.qcow2 ^
-netdev user,id=net0,hostfwd=tcp::8081-:80 ^
-device virtio-net-device,netdev=net0 ^
-boot order=d,menu=on,splash-time=2000 ^
-monitor stdio
@if %errorlevel% neq 0 pause
用上述代码,成功在qemu9250虚拟机里启动了楼主的PE,但我们的PE都无法启动,大概虚拟机的启动配置得重新调整 |
|