So you want to go headless. Awesome. You will need a second computer with a usb->serial adapter. Enable serial port in your bios, connect the motherboard to DB9 adapter and configuring the linux kernel with console output ie:
console=ttyS0,9600 console=tty0 … mileage may vary I don’t do this often
Arguably this is the best way to do it because you can save a log of the terminal output for review or debug issues. Networking into the system is nice but a luxury.
As with everything about linux, its going to take time and work but its possible.
First you will want to install an OS that doesn’t default install X (they are out there) and then you want to pair it down to only the basic services to minimize the HOST overhead.
Arch might be good, certainly Linux from Scratch but that is a project in itself, Debian/Ubuntu Server … but I found that Ubuntu has started if not already quite bloated.
I personally do alot from source and the command line. My Windows VM with QEMU is done through the comand line and not libVirt. And yes I have had in the past a working passthrough but I have this new AMD reset bug BS to contend with currently.
Also you will need to learn to adapt seemingly unrelated topics together to make a working system. For instance QEMU network passthrough with Linux routing/ip forwarding/iptables … thats a rabit hole in itself.
What do you get from doing this work? A workable understanding of Linux outside the casual user experience.
Good luck and happy hunting.