[Kimchi-devel] [RFC] Add support for guest serial console

Daniel Henrique Barboza danielhb at linux.vnet.ibm.com
Mon Nov 16 15:23:34 UTC 2015



On 11/16/2015 12:17 PM, Ramon Medeiros wrote:
> Hi,
>
> i want to discuss about the support of guest serial console. To access 
> a serial console, i need to add the xml of the device 
> (http://wiki.libvirt.org/page/Unable_to_connect_to_console_of_a_running_domain):
>
>  <serial type='pty'>
>    <target port='0'/>
>  </serial>
>  <console type='pty'>
>    <target type='serial' port='0'/>
>  </console>
>
> And, the operation system of the VM need to point to the serial:
>
>  console=ttyS0,115200
>
> So, how we can make sure that the user can access the machine by 
> serial console:
>
> 1) Just add the xml and let the user add the statement above?
>
> 2) Use libvirt to add this parameters 
> (https://libvirt.org/formatdomain.html#elementsOSKernel)

Always try to go the libvirt route if applicable. If libvirt 
automagically avoids the
"console=ttyS0,115200 " statement, better.


Daniel

>
>




More information about the Kimchi-devel mailing list