I have a xen 3.3.0 installed from source code. Dom0 is based on CentOS 5.2. I did the following to enable the serial port in a ubuntu HVM guest. 1. start xencosoled as root 2. enable serial='pty' in the configure file
3. enable output to serial in the guest by adding console=ttyS0 to the grub Then I started the guest with xm create -c usrv. The vnc display is OK. but there is no output in the serial. I also tried several combination of serial='', such as
serial='/dev/ttyS0', serial='/dev/ptya1'... None of them works.
Thanks
This is the configure file: #----------------------------------------------------------------------
import os, re
arch = os.uname()[4] if re.search('64', arch): arch_libdir = 'lib64' else: arch_libdir = 'lib'
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 256
name = "usrv"
vif = [ 'mac=00:16:3e:00:00:10, bridge=eth0' ]
disk = [ 'phy:/dev/vg_guest/lv_userver,hda,w' ]
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
boot="cda"
sdl=0
opengl=0
vnc=1
vncviewer=1 vncpasswd=''
stdvga=0
serial='pty'
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|