From: Guido Guenther Subject: [PATCH] use rtl8139 as default network adapter Date: Thu, 3 Jan 2008 10:47:53 +0100 Message-ID: <20080103094752.GA6778@bogon.ms20.nix> References: <20071221132611.GA11812@bogon.ms20.nix> <476D6CAF.2030009@qumranet.com> <20071227094136.GB824@bogon.ms20.nix> <47737FD2.1060802@qumranet.com> <20071228202510.GA2980@bogon.ms20.nix> <47756261.4000104@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, Avi Kivity To: Izik Eidus Return-path: Content-Disposition: inline In-Reply-To: <47756261.4000104-atKUWr5tajBWk0Htik3J/w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org On Fri, Dec 28, 2007 at 10:53:53PM +0200, Izik Eidus wrote: > Guido Guenther wrote: [..snip..] >> kvm-58 doesn't show this problem, thanks! The host runs stable now. >> I'm still seeing network stalls on large transfers in the guest though. >> Ifup/ifdown'ing the interface in the guest gets things going again until >> it stops again. There's nothing in dmesg of either host or guest. I still >> have to check with different guest kernels and qemu network adapter >> emulations though (current one is ne2k using a bridge on the host). The >> >> > there are known problems with ne2k, please rtl8139 and report if it work rtl8139 works stable with the standard etch kernel I tested as guest, thanks! Given the fact that ne2k has known problems, wouldn't using rtl8139 as default adaptor make sense: diff --git a/qemu/hw/pc.c b/qemu/hw/pc.c index 6c0a360..0d697cc 100644 --- a/qemu/hw/pc.c +++ b/qemu/hw/pc.c @@ -1005,7 +1005,7 @@ static void pc_init1(ram_addr_t ram_size, int vga_ram_size, nd = &nd_table[i]; if (!nd->model) { if (pci_enabled) { - nd->model = "ne2k_pci"; + nd->model = "rtl8139"; } else { nd->model = "ne2k_isa"; } Cheers, -- Guido ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/