WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: Re: [Xen-devel] vfb console inhibiting Xen console?
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Fri, 3 Jul 2009 12:38:16 +0100
Cc: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>, Keir, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, Fraser <Keir.Fraser@xxxxxxxxxxxxx>
Delivery-date: Fri, 03 Jul 2009 04:38:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A4D331A.5080105@xxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4A4D331A.5080105@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
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

<Prev in Thread] Current Thread [Next in Thread>