Score:0

Virsh console not responding after rebooting guest machine

us flag

I have a server running Ubuntu 20.04 with KVM. Whenever I install a guest VM (CentOS 7 or Fedora 34), virsh console works fine in the beginning. However, when I reboot this VM, virsh console stops working.

Does anybody know what's going wrong in this case?

Michael Hampton avatar
cz flag
Did you configure the guest to use a serial console?
Carlos Bazilio avatar
us flag
I guess yes since I can connect through it in the beginning. The problem arises when I reboot the guest (or the host) machine. For instance, this is how I create one VM: virt-install --name VMMysql --memory 8192 --disk pool=default,size=32 --vcpus 2 --location /home/bopuser/isos/Fedora-Server-dvd-x86_64-34-1.2.iso --os-variant=fedora3 --console pty,target.type=virtio --graphics none --check disk_size=off
Michael Hampton avatar
cz flag
This does not configure the guest OS!
Carlos Bazilio avatar
us flag
But how can I connect in the beginning?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.