VM="/sdcard/QEMU/lvm"
qemu-system-aarch64 \
-machine virt,accel=kvm,gic-version=3 \
-cpu host \
-smp 4 \
-m 4096 \
-device virtio-gpu-pci \
-display none \
-vnc 127.0.0.1:1 \
-device qemu-xhci \
-device usb-tablet \
-device usb-kbd \
-drive if=pflash,format=raw,readonly=on,file="$VM/edk2-aarch64-code.fd" \
-drive if=pflash,format=raw,file="$VM/edk2-vars-debian13-virgl.fd" \
-drive if=none,format=qcow2,id=os,file="$VM/debian13-virgl-test.qcow2" \
-device virtio-blk-pci,drive=os,bootindex=1 \
-netdev user,id=net0,hostfwd=tcp:127.0.0.1:2223-:22 \
-device virtio-net-pci,netdev=net0 \
-serial stdio \
-D "$VM/qemu-debug-debian13-2d.log" \
-d guest_errors,unimp,cpu_reset \
-no-reboot