I have created a VM using only qemu but I'm not sure the resulting .img file can be used with virtio or if I have to create this .img file already with vritio.
Or is it possible to create the VM in any way and then, use it with virtio at the start command, using some parameter?
The issue is that I created this VM and when I try to compile a program with the usual ./configure && sudo make && make install, it takes ages to do so. Mainly the sudo make command.
I created this VM with:
Code: Select all
qemu-img create -f qcow2 bullseyebtc.img 25G
qemu-system-x86_64 -machine accel=kvm:tcg -m 4096 -hda debian-11.1.0-amd64.img -boot d -cdrom ../LinuxIMGsPool/debian-11.1.0-amd64-netinst.iso
Code: Select all
qemu-system-x86_64 -m 8192 -hda bullseyebtc.img