From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mw0gJ-0002d9-EW for qemu-devel@nongnu.org; Thu, 08 Oct 2009 17:37:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mw0gE-0002Zd-9Q for qemu-devel@nongnu.org; Thu, 08 Oct 2009 17:37:50 -0400 Received: from [199.232.76.173] (port=34382 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mw0gE-0002ZL-2o for qemu-devel@nongnu.org; Thu, 08 Oct 2009 17:37:46 -0400 Received: from mail-qy0-f199.google.com ([209.85.221.199]:43215) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mw0gD-0003C4-Nh for qemu-devel@nongnu.org; Thu, 08 Oct 2009 17:37:45 -0400 Received: by qyk37 with SMTP id 37so687452qyk.18 for ; Thu, 08 Oct 2009 14:37:45 -0700 (PDT) Message-ID: <4ACE5BA5.8020600@codemonkey.ws> Date: Thu, 08 Oct 2009 16:37:41 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 00/16] Add a -netdev option References: <1255028312-28180-1-git-send-email-markmc@redhat.com> <4ACE4B99.2010606@mail.berlios.de> In-Reply-To: <4ACE4B99.2010606@mail.berlios.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: Mark McLoughlin , qemu-devel@nongnu.org Stefan Weil wrote: > Hi Mark, > > today, qemu's ethernet devices are a fixed combination of > MAC (Media Access Controller) and PHY (Physical Layer). > > Real hardware is different: the controllers provide a MAC, > and many provide a PHY, too, but all controllers allow > one or even several external PHY(s). > > Most (or all?) controllers use the same standard interface > to address their PHY (internal or external), something > which is completely missing today in qemu. > > A better solution would use separate code for MAC and > PHY, so the controllers could share common code for the > PHY. > > Configuration of a different PHY should be possible, > so users can run a system emulation of different > MAC-PHY combinations. > > In addition to the PHY type, a PHY needs attributes > (link speed and link status). > But PHY doesn't really exist in the context of QEMU because virtualizing at the ethernet level. Regards, Anthony Liguori