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/
Home Products Support Community News


Re: [Xen-users] Full Virtualization

To: Henning Sprang <henning_sprang@xxxxxx>
Subject: Re: [Xen-users] Full Virtualization
From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Date: Fri, 16 Feb 2007 17:22:50 +0000
Cc: Michael Wineland <mike@xxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 16 Feb 2007 09:22:39 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <5bb00b3f0702160917va0e33adv45c89f4bc090dd85@xxxxxxxxxxxxxx>
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: <45D5D2A0.7000408@xxxxxxxxxxx> <5bb00b3f0702160917va0e33adv45c89f4bc090dd85@xxxxxxxxxxxxxx>
Reply-to: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Fri, Feb 16, 2007 at 06:17:14PM +0100, Henning Sprang wrote:
> On 2/16/07, Michael Wineland <mike@xxxxxxxxxxx> wrote:
> >and if i do "sudo xm console kubuntu" i get xenconsole: Could not read
> >tty from store: No such file or directory
> You don't "xm console" into a hvm domain's console.

Actually can get it working, but it involves a little more setup than
with paravirt.

In the Xen config file for the HVM guest add


In the grub.conf for the guest you need to have

   console=tty0  console=ttyS0,9600

And in the /etc/inittab for the guest you need to add

   s0:2345:respawn:/sbin/agetty -L 9600 ttyS0 vt100

That basically configures a virtual serial console in QEMU, tells the
kernel to send messages to it as well as the normal console, and finally
runs a login process on the serial console

IIRC that ought to be enough to make 'xm console' work kfor HVM

|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

Xen-users mailing list