I’m running some experiments with QEMU/KVM and faced some strange behavior. My Ubuntu 20.04 system installed on a VM does not boot if it is used as follows:
$ sudo qemu-system-x86_64 -enable-kvm -boot d -m 8192 ubuntu.img
It simply hangs with a black screen:
But if try to start the VM with
-cpu host option it works perfectly fine:
$ sudo qemu-system-x86_64 -cpu host -enable-kvm -boot d -m 8192 ubuntu.img
Any ideas why such behavior might happen? May it happen due to the fact that I installed Ubuntu when the VM was ran with
-cpu host option?