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

Re: [Xen-devel] vfb console inhibiting Xen console?



On Thu, 2 Jul 2009, Jeremy Fitzhardinge wrote:
> If I create a domain with a vfb:
> 
>     vfb=['type=vnc']
>     vnc=1
>     vncpasswd=''
>     vnclisten='0.0.0.0'
> 
> then I can no longer access the Xen console:
> 
>     # xm create -c xenpv64
>     Using config file "/etc/xen/xenpv64".
>     Started domain xenpv64 (id=3)
>     xenconsole: Could not read tty from store: No such file or directory
> 
> If I comment out the vfb line, then I can start the domain with a
> console as expected.
> 
> Diffing xenstore is mostly boring except for:
> 
>     -   console = ""
>     -    ring-ref = "401255"
>     -    port = "2"
>     -    limit = "1048576"
>     -    type = "xenconsoled"
>     -    tty = "/dev/pts/1"
> 
>     +   console = ""
>     +    vnc-port = "5900"
>     +    ring-ref = "277012"
>     +    port = "2"
>     +    limit = "1048576"
>     +    type = "ioemu"
> 
> Can I have both at once?
> 

Yes, you can.
Check that /local/domain/$DOMID/serial/0/tty exists and contains the
tty path in dom0.
If you specify vfb in your config file then qemu provides the console
backend and creates that node on xenstore that specify the tty device
path.
I just tried to start a pv guest with a vfb and didn't have any problem
connecting to the console, maybe you don't have an updated qemu tree?



_______________________________________________
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®.