Skip to contentSkip to conversation

libxl: change default HVM emulated network card to rtl8139

PATCH In review Ian Jackson 2 participants 3 messages Feb 1, 2011 – Feb 2, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

tools/libxl/libxl.c +1 -1
index 5c1b3ab..6dbfca7 100644
@@ -1110,7 +1110,7 @@ int libxl_device_nic_init(libxl_device_nic *nic_info, int devnum)
     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;
Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines · Ian Jackson

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.

author Applied
#2 lore raw

Stefano Stabellini writes ("Re: [Xen-devel] [PATCH] libxl: change default HVM emulated network card to rtl8139"):

Quoted 7 lines · Ian Jackson
Quoted 4 lines

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).

Thanks, applied.

Ian.