From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33052) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UL8Py-00088g-2N for qemu-devel@nongnu.org; Thu, 28 Mar 2013 04:42:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UL8Pu-0005GF-Tq for qemu-devel@nongnu.org; Thu, 28 Mar 2013 04:42:42 -0400 Received: from mail-ie0-x232.google.com ([2607:f8b0:4001:c03::232]:56538) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UL8Pu-0005G5-Mv for qemu-devel@nongnu.org; Thu, 28 Mar 2013 04:42:38 -0400 Received: by mail-ie0-f178.google.com with SMTP id bn7so8795447ieb.37 for ; Thu, 28 Mar 2013 01:42:38 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Dmitry Fleytman Date: Thu, 28 Mar 2013 10:42:17 +0200 Message-ID: Content-Type: multipart/alternative; boundary=14dae93409e907dcf004d8f823df Subject: Re: [Qemu-devel] vmxnet3 iPXE compatibility List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Yan Vugenfirer , qemu-devel --14dae93409e907dcf004d8f823df Content-Type: text/plain; charset=ISO-8859-1 Indeed unlike Windows and Linux iPXE vmxnet3 driver makes additional assumptions regarding device functionality. I've fixed this and verified proper iPXE functionality (latest version). Will submit patch in a separate mail. On Wed, Mar 27, 2013 at 6:56 PM, Dmitry Fleytman wrote: > Hi Stefan, > > The issue is we never tested this device with iPXE, so according to > Murphy's law it cannot work :). > We'll take a look... > > Dmitry. > > > On Mon, Mar 25, 2013 at 2:26 PM, Stefan Hajnoczi wrote: > >> Hi Dmitry, >> QEMU vmxnet3 produces the following warning with iPXE >> (77f64b11f764e721f4f8704b7b90317e52d85fc3): >> >> $ cd ~/ipxe/src >> $ make bin/vmxnet3.rom >> $ qemu-system-x86_64 -netdev user,id=netdev0 -device >> vmxnet3,netdev=netdev0,romfile=bin/vmxnet3.rom >> [vmxnet3][WR][vmxnet3_peer_has_vnet_hdr]: Peer has no virtio >> extension. Task offloads will be emulated. >> [vmxnet3][WR][vmxnet3_get_command_status]: Received request for >> unknown command: cafe0002 >> >> The warning about virtio extensions is expected since I chose slirp >> networking. >> >> iPXE does not show the NIC ('ifstat' command). I guess the driver >> gave up during initialization: >> >> https://git.ipxe.org/ipxe.git/blob/HEAD:/src/drivers/net/vmxnet3.c#l613 >> >> Any ideas? >> >> Stefan >> >> PS: I discovered this when testing net patches for the pull request I >> just sent out. It's not a blocker, so vmxnet3 will finally be in >> qemu.git/master very soon! >> > > --14dae93409e907dcf004d8f823df Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Indeed unlike Windows and Linux iPXE vmxnet3 driver makes = additional assumptions regarding device functionality.
I've fixed t= his and verified proper iPXE functionality (latest version). Will submit pa= tch in a separate mail.


On Wed, Mar 2= 7, 2013 at 6:56 PM, Dmitry Fleytman <dmitry@daynix.com> wrot= e:
Hi Stefan,

The issue is we never tested this device with iPXE, so according to Murp= hy's law it cannot work :).
We'll take a look...

Dmitry.


On = Mon, Mar 25, 2013 at 2:26 PM, Stefan Hajnoczi <stefanha@gmail.com>= wrote:
Hi Dmitry,
QEMU vmxnet3 produces the following warning with iPXE
(77f64b11f764e721f4f8704b7b90317e52d85fc3):

$ cd ~/ipxe/src
$ make bin/vmxnet3.rom
$ qemu-system-x86_64 -netdev user,id=3Dnetdev0 -device
vmxnet3,netdev=3Dnetdev0,romfile=3Dbin/vmxnet3.rom
[vmxnet3][WR][vmxnet3_peer_has_vnet_hdr]: Peer has no virtio
extension. Task offloads will be emulated.
[vmxnet3][WR][vmxnet3_get_command_status]: Received request for
unknown command: cafe0002

The warning about virtio extensions is expected since I chose slirp network= ing.

iPXE does not show the NIC ('ifstat' command). =A0I guess the drive= r
gave up during initialization:

https://git.ipxe.org/ipxe.git/blob/HEAD:/src/dri= vers/net/vmxnet3.c#l613

Any ideas?

Stefan

PS: I discovered this when testing net patches for the pull request I
just sent out. =A0It's not a blocker, so vmxnet3 will finally be in
qemu.git/master very soon!


--14dae93409e907dcf004d8f823df--