your DomU is a HVM, which means the xm console command is not very helpful as it
is a text console and the HVM will provide a graphical console (SDL or VNC).
Offtopic: Unfortunately I did still not find a way to re-open any accidentally
closed SDL console Windows, anyone know how to do that?
You configured your HVM to use SDL which means the virtual VGA console window
should open immediately on start of the VM within you X-session as a normal
X-SDL window.
You have no X-Session? Then forward the display to another X-Server or use VNC
instead od SDL.
Does the SDL Window show up normally when you do not have the VIF line in your
HVM config file?
Other gotchas:
- you have a X-Session running but see no SDL window either? - Has you X-Server
compiled in SDL support? SDL libs installed?
- you get the SDL window but it closes again immediately. - Check the xen log,
your HVM is most likely experiencing an "early crash" and
can''t start up. The log may indicate the root cause (e.g. the bridge
you tried to bridge to does not exists).
In your case, since you see it when you add the VIF line - does the bridgle
Xenbr0 exist in you system? (check with ifconfig -a)
If not create the bridge befor starting the VM, normally the xen network scripts
should create it for you on boot of the HVM - not sure why this may not work for
you, probably "hotplug" is required, do you have that running in your
Dom0? The xen logfile would give you most likely the information why your HVM
does not start, have you looked into it?
Ralf
"yushang" wrote:
>
> Hi All,
> Following is my domU config:
> kernel = "/usr/lib/xen/boot/hvmloader"
> builder = ''hvm''
> memory = 192
> name = "winxp"
> vcpus = 2
> disk = [
''file:/media/sda6/usr/xenimgs/winxp.img,ioemu:hda,w'',''phy:/dev/hda,ioemu:hdb:cdrom,r''
> ]
> #vif = [''mac=aa:00:00:00:00:11,bridge=xenbr0'']
> device_model = ''/usr/lib/xen/bin/qemu-dm''
> sdl=1
> boot=''c''
>
> My problem is if I uncomment the vif line , winxp will not get a
> console window , then explicitly attach the console with xm console
> winxp , will get following message:
> xenconsole: Could not read tty from store: No such file or directory
> if comment the vif line , domU will get up smoothly . Have someone
> encounter the same problem ? thanks
>
> BR
> yushang
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xensource.com
> http://lists.xensource.com/xen-users
>
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users