[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Full Virtualization



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

   serial='pty'

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

Regards,
Dan.
-- 
|=- 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
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.