Enable Serial Console for KVM

on Jan. 20, 2023, 6:49 p.m.

Run the following commands on the VM:
sudo systemctl enable [email protected]
sudo systemctl start [email protected]

Once you do that, then you can run the following command to console to the VM from the host:
virsh console vm-name