Configuring a Qemu instance
To enable console on a tty device for a VM, follow these steps:
open the
/etc/default/grubfile.add
console=ttyS0,console=tty0to theGRUB_CMDLINE_LINUXline.run the following command to update the GRUB configuration:
grub-mkconfig -o /boot/grub/grub.cfg
Warning
If you set the serial=virtio backend option, then use console=hvc0 instead.