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

xen-users

[Top] [All Lists]

Re: [Xen-users] domU consoles

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] domU consoles
From: Itai Tavor <itai@xxxxxxxxx>
Date: 2006年6月16日 09:27:37 +1000
Delivery-date: 2006年6月15日 16:28:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4491B7C1.6020706@xxxxxxxxxx>
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: <4491B4BE.9090001@xxxxxxxxxxxxx> <4491B7C1.6020706@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Paolo Supino wrote:
Hi
 I have a couple of questions:
2. How do I setup a dom0/domU in order to get a tty login?
Not sure if it's quite what you're after, but I use the following in / etc/inittab:
1:2345:respawn:/usr/sbin/xm top > /dev/tty1
2:23:respawn:/usr/sbin/xm console dom1 > /dev/tty2 < /dev/tty2 2>&1
3:23:respawn:/usr/sbin/xm console dom2 > /dev/tty3 < /dev/tty3 2>&1
4:23:respawn:/usr/sbin/xm console dom3 > /dev/tty4 < /dev/tty4 2>&1
5:23:respawn:/usr/sbin/xm console dom4 > /dev/tty5 < /dev/tty5 2>&1
6:23:respawn:/usr/sbin/xm console dom5 > /dev/tty6 < /dev/tty6 2>&1
7:23:respawn:/usr/sbin/xm console dom6 > /dev/tty7 < /dev/tty7 2>&1
8:23:respawn:/usr/sbin/xm console dom7 > /dev/tty8 < /dev/tty8 2>&1
9:23:respawn:/sbin/getty 38400 tty9
This gives me 'xm top' on the main console, console access to my guests using ALT-F2..ALT-F8, and a host login prompt with ALT-F9. There's room for improvement... if a guest is down, the guest console spits out an endless stream "Domain xxx isn't running" - I'm thinking of wrapping the xm call in a script that will deal with that quietly.
HTH, Itai
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-users] wee projects - fyi , Richard Sevenich
Next by Date: Re: [Xen-users] domU consoles , Paolo Supino
Previous by Thread: Re: [Xen-users] domU consoles , David F Barrera
Next by Thread: Re: [Xen-users] domU consoles , Paolo Supino
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /