RE: [Xen-users] How-To create Windows HVM?

Tait Clarridge
Wed, 06 Feb 2008 14:44:12 -0000

Hello,

You do not need to throw the -c flag for HVM domains.
If that doesn''t fix it, try removing the following lines (or commenting
them out),

shadow_memory=8
vnclisten="0.0.0.0"                                                                                             vncconsole=1
          vncpasswd=''''

You will also have to change your cdrom entry in disk= to
''file:/mnt/store/backup/wide032a01.iso,ioemu:hdc:cdrom,r''
(adding ioemu to the arguments)

Next you will probably have to change the xend-config.sxp file and look for
anything regarding VNC, uncomment and change the values (there is general info
in the file).


Let me know if this helps,
Tait


From: xen-users-bounces@lists.xensource.com
[mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Ulrich Peinhardt
Sent: Thursday, January 31, 2008 11:34 AM
To: Xen-Users
Subject: [Xen-users] How-To create Windows HVM?

Hi,

i''m a little bit stuck here with creating a HVM-Windows (w2k3) Guest
under Xen 3.1.
I''m using ubuntu 7,10 with a 2.6.22.16-xen-patched kernel which seems
to be stable for single cpu-linux guests. Cpu is a Q6600 and XD,VT and VT-d is
enabled in the bios.

When i create the windows guest with ''xm create w2k3 -c"  (conf
below)
I get:
 "Started domain w2k3
xenconsole: Could not read tty from store: No such file or directory"

i think i''m fine wiht that coz there is no tty in windows ?! ;)

so i do a netstat -lpn to search for the vnc-port to connect to, but there
isn''t one ?!?!
in xm top the w2k3-domU takes 99% cpu load
the logfiles doesn''t show anything unusual.. any ideas ??

<<</etc/xen/w2k3
kernel =
"/usr/lib/xen-ioemu-3.1/boot/hvmloader"
builder=
''hvm''
memory = 1024

shadow_memory =
8
name = "w2k3"

vcpus=2
vif = [ ''type=ioemu, mac=00:16:3e:00:00:11, bridge=xenbr0,
model=ne2k_pci''
]
disk = [ ''phy:store/windows-test,hda,w'',
''file:/mnt/store/backup/wide032a01.iso,hdc:cdrom,r'']
device_model =
"/usr/lib/xen-ioemu-3.1/bin/qemu-dm"
boot="d"

sdl=0
vnc=1

vnclisten="0.0.0.0"
vncconsole=1

vncpasswd=''''
<<<

Thanx