All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] vmxnet3 iPXE compatibility
@ 2013-03-25 12:26 Stefan Hajnoczi
  2013-03-27 16:56 ` Dmitry Fleytman
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Hajnoczi @ 2013-03-25 12:26 UTC (permalink / raw)
  To: Dmitry Fleytman; +Cc: qemu-devel

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!

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] vmxnet3 iPXE compatibility
  2013-03-25 12:26 [Qemu-devel] vmxnet3 iPXE compatibility Stefan Hajnoczi
@ 2013-03-27 16:56 ` Dmitry Fleytman
  2013-03-28  8:42   ` Dmitry Fleytman
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry Fleytman @ 2013-03-27 16:56 UTC (permalink / raw)
  To: Stefan Hajnoczi; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1152 bytes --]

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 <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=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!
>

[-- Attachment #2: Type: text/html, Size: 1799 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] vmxnet3 iPXE compatibility
  2013-03-27 16:56 ` Dmitry Fleytman
@ 2013-03-28  8:42   ` Dmitry Fleytman
  0 siblings, 0 replies; 3+ messages in thread
From: Dmitry Fleytman @ 2013-03-28  8:42 UTC (permalink / raw)
  To: Stefan Hajnoczi; +Cc: Yan Vugenfirer, qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1505 bytes --]

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 <dmitry@daynix.com> 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 <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=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!
>>
>
>

[-- Attachment #2: Type: text/html, Size: 2510 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-28  8:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-25 12:26 [Qemu-devel] vmxnet3 iPXE compatibility Stefan Hajnoczi
2013-03-27 16:56 ` Dmitry Fleytman
2013-03-28  8:42   ` Dmitry Fleytman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.