2018-04-24
KVM and os-specific defaults
Today I wanted to install a new virtual machine on the new homeserver and virt-install gave me a new warning:WARNING No operating system detected, VM performance may suffer. Specify an OS with --os-variant for optimal results.According to the virt-install manpage the --os-variant can be found with osinfo-query os which I can't find in Devuan jessie. But the same information is available via Installing Virtual Machines with virt-install, plus copy pastable distro install one-liners. I chose debian7 as that is probably the closest to Devuan Jessie to be upgraded to Devuan ascii immediately. The interesting change is that the resulting linux suddenly has virtio networkcards and a disk /dev/vda. That last bit is quite different from earlier virtual machines.