[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] reg dom0 console



On Wed, Nov 16, 2011 at 8:08 AM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
 
xl just execs /usr/lib/xen/bin/xenconsole to talk to the console.

xenconsole is just a client for xenconsoled which is the daemon which
actually consumes guest consoles. The source for both is in
tools/console.

My memory is fuzzy but IIRC the toolstack writes the
keys /local/domain/<DOMID>/console/{ring-ref,port} to xenstore which
xenconsoled picks up in order to communicate with the domain. The guest
gets its end of things from the startinfo.

Thanks Ian. We currently have both dom0 and domU versions of MIPS Linux up and running. However, we are in the process of connecting to domU through xenconsole. In the interim, domU too uses dom0 console functions and so the bootup process of domU could be seen. When domU's console functions are switched to write to the domU console page, domU output (after early printk usage) could not be read through "xl console <domId>" command. The sequence of commands are

xenstored -D
xenconsoled
xl create domU.config
xl console 1

It was ensured that domU console page and its event channel descriptor were allocated correctly in domU. Is there anything else that needs to be plumb the connection between dom0 and domU ? Could any other controlled test be run to ensure that all the required steps are done ?

thank you,
Prasad.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.