From Fedora Project Wiki
Actions:
1. Add console=ttyS0,115200 to guest kernel line.
2. Add the following XML section to a domain.
<serial type='pty'> <source path='/dev/pts/3'/> <target port='0'/> </serial> <console type='pty'> <source path='/dev/pts/3'/> <target port='0'/> </console>
3. Start the domain.
4. Run virsh console [domain id]. A booting message will be displayed in the terminal.
5. Log on to the guest.
Expected Results:
Successful connection to a guest via virtual console and serial.