VfioQEMU

TurnToJPG -->


Installation:

sudo qemu-system-x86_64 -name Arch -cdrom /var/lib/libvirt/images/ubuntu-20.04.3-live-server-amd64.iso -drive file=/var/lib/libvirt/images/vfioubuntu.qcow2 -m 8192 -enable-kvm -M q35 -cpu host -smp 4,sockets=1,cores=4,threads=1 -display egl-headless,gl=on -usb -device usb-tablet -bios /usr/share/OVMF/OVMF_CODE.fd -boot order=d -device virtio-vga,virgl=on -spice unix,disable-ticketing,image-compression=off,addr=arch.sock,seamless-migration=on

After installation, start the vm via:

sudo qemu-system-x86_64 -name Arch  -drive file=/var/lib/libvirt/images/vfioubuntu.qcow2,if=virtio  -m 22192 -enable-kvm -M q35 -cpu host -smp 8,sockets=1,cores=8,threads=1  -usb -device usb-tablet -device usb-ehci,id=ehci  -bios /usr/share/OVMF/OVMF_CODE.fd -boot order=c -vga none -device virtio-gpu-pci,virgl=on -display sdl,gl=on  -net nic -net user,hostfwd=tcp::2288-:22,hostfwd=tcp::5555-:5555