Received: from eggs.gnu.org ([2001:4830:134:3::10]:60431) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WI8hs-0007yv-5X for qemu-devel@nongnu.org; Mon, 24 Feb 2014 22:29:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WI8hm-00083W-Kb for qemu-devel@nongnu.org; Mon, 24 Feb 2014 22:29:20 -0500 Received: from mail-qg0-x232.google.com ([2607:f8b0:400d:c04::232]:52379) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WI8hm-00082D-Eh for qemu-devel@nongnu.org; Mon, 24 Feb 2014 22:29:14 -0500 Received: by mail-qg0-f50.google.com with SMTP id z60so17489660qgd.9 for ; Mon, 24 Feb 2014 19:29:13 -0800 (PST) Date: Mon, 24 Feb 2014 22:26:54 -0500 From: "Gabriel L. Somlo" Message-ID: <20140225032653.GA8854@ERROL.INI.CMU.EDU> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1393268897-13907-1-git-send-email-romain@dolbeau.org> Subject: Re: [Qemu-devel] [PATCH] e1000: add the ability to select among List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: romain@dolbeau.org On Mon, 24 Feb 2014 15:08:17 -0500 Romain Dolbeau wrote: > This patch adds this ability to select a specific variant of > the e1000 virtual ethernet from the command-line. Previously > only a single device was available, selected at compile time. > This helps for guests with limited hardware support, as with > this patch not all guests are required to use the same device. > > So for instance to use the emulated 82545EM in OSX[1], a user > would add e.g. the options: > > "-netdev user,id=mynet0 -device 82545EM,netdev=mynet0" Apparently, starting with 10.9 (Mavericks), the built-in Intel e1000 driver (AppleIntel8254XEthernet.kext) no longer works with the default e1000 "flavor" (DEVICE_ID) emulated by QEMU (E1000_DEV_ID_82540EM). It seems to work great with E1000_DEV_ID_82545EM_COPPER, though. E1000_DEV_ID_82545EM_COPPER, however, does not work with Windows (I tried XP and 7). So there isn't currently one e1000 DEVIE_ID that could "rule them all", so to speak... Linux works fine with whatever, but then we already expected that :) So, I think it would be nice to be able to select the specific "flavor" of e1000 at run time, along the lines of what this patch does. Thanks, --Gabriel