Mailing List Archive

[xen-unstable] libxl: change default HVM emulated network card to rtl8139
# HG changeset patch
# User Ian Jackson <Ian.Jackson@eu.citrix.com>
# Date 1296666327 0
# Node ID eee94799ff95b09d00694bcd4e22814d87812da4
# Parent fff1976f4ee42490c08d0ed15ed8feb4bac4028a
libxl: change default HVM emulated network card to rtl8139

xend uses rtl8139, and we want xl to be compatible with xm. Some
older operating systems don't have e1000 drivers, and we want widest
compatibility rather than best performance (people who want good
performance are best advised to use PV-on-HVM drivers).

We'll probably switch to a new default when switching to upstream
qemu, in the Xen 4.2 release cycle.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
tools/libxl/libxl.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -r fff1976f4ee4 -r eee94799ff95 tools/libxl/libxl.c
--- a/tools/libxl/libxl.c Wed Feb 02 17:04:46 2011 +0000
+++ b/tools/libxl/libxl.c Wed Feb 02 17:05:27 2011 +0000
@@ -1106,7 +1106,7 @@ int libxl_device_nic_init(libxl_device_n
nic_info->domid = 0;
nic_info->devid = devnum;
nic_info->mtu = 1492;
- nic_info->model = strdup("e1000");
+ nic_info->model = strdup("rtl8139");
nic_info->mac[0] = 0x00;
nic_info->mac[1] = 0x16;
nic_info->mac[2] = 0x3e;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@lists.xensource.com
http://lists.xensource.com/xen-changelog