From: Jeremy Katz Subject: Re: Re: [PATCH] Virtual console driver on /dev/xvc0 Date: Fri, 04 Aug 2006 10:23:43 -0400 Message-ID: <1154701424.8735.2.camel@orodruin.boston.redhat.com> References: <20060802214226.GA14656@kvasir.watson.ibm.com> <659b9a19c91fde3126cb6c3ec32a8eaa@cl.cam.ac.uk> <20060803230747.GA28588@kvasir.watson.ibm.com> <07eaf363aa125b61f9928223b9f857b4@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <07eaf363aa125b61f9928223b9f857b4@cl.cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com, Amos Waterland List-Id: xen-devel@lists.xenproject.org On Fri, 2006-08-04 at 08:55 +0100, Keir Fraser wrote: > On 4 Aug 2006, at 00:07, Amos Waterland wrote: > > > The below is the least invasive approach I can find, and works well on > > my PPC64 blades: I can boot the exact same kernel on bare hardware and > > as a dom0. I am sure there will be distro concerns (such as > > /etc/inittab and /etc/securetty), but I'd like to get the ball rolling > > with this initial submission. > > > > Note that you have to put `xencons=xvc0' in your Linux .config, and run > > `mknod /dev/xvc0 c 232 0' in your rootfs. > > > > Signed-off-by: Amos Waterland > > 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) Jeremy