...
Code Block | ||
---|---|---|
| ||
#!/bin/zsh export WAYLAND_SOCK=/run/user/1000/wayland-0 #export WAYLAND_SOCK=/tmp/wayland.sock GUEST_DATA_IMG=... ./build/qemu-system-x86_64 \ -m 4G \ -machine pc,accel=kvm,memory-backend=mem,usb=off \ -device virtio-scsi-pci,id=scsi0 \ -device virtio-net-pci,netdev=net0 \ -D qemu.log \ -netdev user,id=net0,hostfwd=tcp::8022-:22 \ -object memory-backend-file,id=mem,size=4G,mem-path=/dev/shm,share=on \ -audio driver=pa,model=hda,server=/run/user/1000/pulse/native \ -device virtio-vga-rutabaga,capset_names=gfxstream-vulkan:=on,cross-domain=on,wayland_-socket_-path=${WAYLAND_SOCK},hostmem=8G \ "$GUEST_DATA_IMG" |
...