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-users

Re: [Xen-users] Serial port in domU

To: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Subject: Re: [Xen-users] Serial port in domU
From: Giovanni Bordello <g.bordello@xxxxxxxxx>
Date: Thu, 28 Jul 2005 01:58:58 +1200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 27 Jul 2005 13:57:36 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mfeYIM7mkAA668yPkJYwjoF3SNRJmcQWePyIaZlrtVgNkAt6W/En18DlwbeqCAaEuqXOlENx3zmt67ufY1XoBqPMxYsqt7fKzb6iWj3DN0ijb99zm3orzYMk8qtYoRLBhyUpwflRsChhdsT2krmwXcx9mGrSVMzW0sZbgYyH1xs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200507271434.18676.mark.williamson@xxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <2ffe2fc1050727062379907a6@xxxxxxxxxxxxxx> <200507271434.18676.mark.williamson@xxxxxxxxxxxx>
Reply-to: Giovanni Bordello <g.bordello@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 7/28/05, Mark Williamson <mark.williamson@xxxxxxxxxxxx> wrote:
> > I don't use it for networking, but for text messaging - it talks to a
> > database and some other processes, i.e. I'd really like to avoid
> > having the userspace driver in dom0. Is that somehow possible? I only
> > know about dedicating whole PCI devices to domains but how about
> > giving them serial ports? Is that possible?
> 
> It's doable technically but might require a bit of hacking on Xen and the
> tools to make it work.
> 
> Otherwise the most straightforward way to deal with this would be to just
> share through dom0.

What do you mean "share through dom0"? A kind of forwarding of ttyS? 

Running the userspace controller in dom0 is a bit tricky because it
needs to talk to the database in domU (which is doable over TCP
connection indeed) and as well uses FIFO for talking to some other
daemon running in domU. That daemon shouldn't run in dom0 either
because the web interface talks to it as well. I hope I won't end up
running all this GSM beast, cron jobs and apache in dom0 just because
of the serial port...

How much work would it be to assign the port to domU?

Thanks

Giovanni

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users