Wade Peacock
2011-Mar-17  18:15 UTC
[Xen-users] Xen domu vif using model=e1000 does not survive a reboot - reverts to a realtek 8139.
Hello Xen Brain Trust,
Our challenge is that have two new xen guests (Win2008 and Win2003) which we are
setting the model on the
vif="" to model=e1000.
On boot the guest come up with an Intel 1000 MT nic as expected.
If the guests are shutdown via Windows then are started (xm create) they also
come back up with an Intel 1000
MT nic as expected. If we reboot the Windows guests via the guest os, they no
longer have an Intel 1000 MT nic
but revert to / adds a default realtek 8139 nic.
At this point we can get the Intel back if we shutdown and xm creating the
guest.
Guest Creatation Command (Windows 2008 Guest):
sudo virt-install --name lead.test.in.sunwave.net \\
		  --disk path=/opt/Xen_Guests/lead.test.in.sunwave.net,size=40 \\
                   --ram 15190 --hvm \\
	          --cdrom /opt/Xen_Guests/CDImages/WindowsServer2008_x86_64.iso \\
                   --mac 00:16:36:6a:5a:55 \\
                   --bridge=xenbr4 \\
                   --vcpus 4 \\
                   --noreboot
Example Guest Config (EDITED Windows 2008 Guest, after post initial install)
name = "lead.test.in.sunwave.net"
uuid = "77677feb-4fbd-15df-8ec6-fa4c90af9250"
maxmem = 15190
memory = 15190
vcpus = 4
builder = "hvm"
kernel = "/usr/lib/xen/boot/hvmloader"
boot = "c"
pae = 1
acpi = 1
apic = 1
localtime = 0
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
device_model = "/usr/lib64/xen/bin/qemu-dm"
sdl = 0
vnc = 1
vncunused = 1
keymap = "en-us"
#Original Install Disk Line
#disk = [ "file:/opt/Xen_Guests/lead.test.in.sunwave.net,hda,w",
",hdc:cdrom,r" ]
disk = [ "tap:aio:/opt/Xen_Guests/lead.test.in.sunwave.net,hda,w", 
"file:/opt/Xen_Guests/CDImages/WindowsServer2008_x86_64.iso,hdc:cdrom,r"
]
#Original Install Nic Line
#vif = [ "mac=00:16:36:6a:5a:55, bridge=xenbr4, script=vif-bridge" ]
vif = [ "type=ioemu, mac=00:16:36:6a:5a:56, bridge=xenbr4,
script=vif-bridge, model=e1000" ]
parallel = "none"
serial = "pty"
OS Information:
	CentOS 5.5 x86_64
Package Information:
	rpm -q xen kernel-xen libvirt
	xen-3.0.3-105.el5_5.5
	kernel-xen-2.6.18-194.32.1.el5
	libvirt-0.6.3-33.el5_5.3
Any thoughts? Is this a bug in xen-3.0.3 for which a patch has not been back
ported for RHEL/CentOS 5.x?
These are the first Xen Guests where we''ve wanted more than a 100 Mbps
nic.
-- 
Wade Peacock
Network Administrator
Sun Country Cablevision Ltd
Sunwave Internet Department
Tel: (250) 832-9711 or (250) 546-9667
Dir: (250) 832-5123 x 220
Web: http://www.sunwave.net
Email: wade.peacock@sunwave.net
Support Email: support@sunwave.net
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users