Skip to content

correct some register return values for vxmnet3

Miao Yan qemu-devel 3 versions – Applied

Status from this message: Applied in my -net.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 2 repliesApplied
  2. v24 patches 6 repliesSuperseded
  3. v13 patches 10 repliesSuperseded

Changes in v3 from the cover letter

- rename VMXNET3_DEVICE_VERSION to VMXNET3_UPT_REVISION

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/5net/vmxnet3: return 1 on device activation failurehw/net/vmxnet3.c+1 -10 replies
2/5net/vmxnet3: return correct value for VMXNET3_CMD_GET_DID_* commandhw/net/vmxnet3.c+16 -00 replies
3/5net/vmxnet3: return correct value for VMXNET3_CMD_GET_DEV_EXTRA_INFOhw/net/vmxnet3.c+5 -00 replies
4/5net/vmxnet3: return 0 on unknown commandhw/net/vmxnet3.c+1 -10 replies
5/5net/vmxnet3: rename VMXNET3_DEVICE_VERSION to VMXNET3_UPT_REVISIONhw/net/vmxnet3.c+2 -20 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDmitry Fleytman
SeriesR-b
1/5
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [Qemu-devel] [PATCH v3 0/5] correct some register return values for vxmnet3

Qemu vmxnet3 emulation doesn't recognize VMXNET3_CMD_GET_DID_LO, VMXNET3_CMD_GET_DID_HI and VMXNET3_CMD_GET_DEV_EXTRA_INFO command and returns -1 on all of them.

This patchset makes them return correct values.

Changes in v2:
- return 0 on unknown command
Changes in v3:
- rename VMXNET3_DEVICE_VERSION to VMXNET3_UPT_REVISION

Miao Yan (5):
net/vmxnet3: return 1 on device activation failure net/vmxnet3: return correct value for VMXNET3_CMD_GET_DID_* command net/vmxnet3: return correct value for VMXNET3_CMD_GET_DEV_EXTRA_INFO net/vmxnet3: return 0 on unknown command
net/vmxnet3: rename VMXNET3_DEVICE_VERSION to VMXNET3_UPT_REVISION

 hw/net/vmxnet3.c | 29 +++++++++++++++++++++++++----
 1 file changed, 25 insertions(+), 4 deletions(-)
Signature · 1 line
1.9.1