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] Re: [PATCH] Virtual console driver on /dev/xvc0

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [PATCH] Virtual console driver on /dev/xvc0
From: Jeremy Katz <katzj@xxxxxxxxxx>
Date: Fri, 04 Aug 2006 10:34:43 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Amos Waterland <apw@xxxxxxxxxx>
Delivery-date: Fri, 04 Aug 2006 07:35:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C0F918EA.7F5%Keir.Fraser@xxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C0F918EA.7F5%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, 2006-08-04 at 15:31 +0100, Keir Fraser wrote:
> On 4/8/06 3:23 pm, "Jeremy Katz" <katzj@xxxxxxxxxx> wrote:
> >> How did you pick the major? Is there a process for allocating one (I
> >> think our bklock-device major is now official)? Could we use a more
> >> dynamic (e.g., udev-based) scheme to avoid locking down 1/256th of the
> >> 8-bit major space for this?
> > 
> > The instructions for getting a major are available at
> > http://www.lanana.org/docs/device-list/instructions.txt and the official
> > list of majors/minors is at
> > http://www.lanana.org/docs/device-list/devices-2.6+.txt.
> > 
> > char major 232 is already taken for biometrics.  There's no reason that
> > we shouldn't be able to get a minor (or a couple, if it makes more sense
> > to have more than one xvc device in some case) char devices in the
> > low-density serial console region (char major 204)
> 
> That page makes it sound like the static allocation of device numbers is
> obsolete. Is there some preferred dynamic method now?

Using udev or similar is the way of doing things dynamically.  But there
are still a number of areas where static major/minor is strongly
desirable and consoles are one of those areas.  

Jeremy


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