From:
xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Derek
Sent: 2006年9月19日
5:12
To: xen ml
Subject: [Xen-users] Getting
network working in HVM domU
Hi all,
I now have Xen running on Intel Core2 duo system, and am running a HVM domU
with Microsoft Windows XP Home Edition, cold-installed from distribution CD.
Problem is, Windows can't get to the network.
My dom0 ifconfig looks correct, as far as I can tell. I have a DHCP
server on my local network, but the Windows XP domU claims to be unable to find
DHCP. I've also tried assigning a static IP that matches my local subnet,
but networking is still as dead as a dodo. At the very end of this
message, I've posted my dom0 kernel's .config file, just in case I used some
wrong setting there.
Any help would be much appreciated. I've never used linux bridging, and
have no idea how to debug it.
Derek.
/etc/xen/winxp.hvm
------------------------
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 = 512
name = "WindowsXP"
vif = [ 'type=ioemu, bridge=xenbr0' ]
disk = [ 'phy:/dev/main/win_xp_guest_domain,ioemu:hda,w' ]
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
cdrom="/home/dereks/WinXP_Home_Edition.iso"
boot="c"
sdl=1
vnc=0
vncviewer=0
stdvga=0
serial='pty'
ne2000=0