qemu-system-x86_64 -accel nvmm \
-cpu max -smp cpus=4 -m 8G \
-drive if=pflash,format=raw,readonly=on,file=/usr/pkg/share/qemu/edk2-x86_64-code.fd \
-drive id=cdrom,if=none,media=cdrom,file=/home/marietto/Downloads/vm/ubuntu-22.04-desktop-amd64.iso \
-drive file=/home/marietto/Downloads/vm/jammy.img,if=none,id=disk0 \
-object rng-random,filename=/dev/urandom,id=viornd0 \
-device virtio-rng-pci,rng=viornd0 \
-netdev user,id=vioif0 -device virtio-net-pci,netdev=vioif0 \
-audiodev oss,id=oss,
out.dev=/dev/audio,
in.dev=/dev/audio \
-device ac97,audiodev=oss \
-display sdl,gl=on -vga vmware \
-usb -device usb-mouse,bus=usb-bus.0
WARNING: Image format was not specified for '/home/marietto/Downloads/vm/jammy.img' and probing guessed raw.
Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
Specify the 'raw' format explicitly to remove the restrictions.
NetBSD Virtual Machine Monitor accelerator is operational
Surfing on the net a little bit,I found an interesting post regarding shit specific bug :