qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/5] correct some register return values for vxmnet3
@ 2015-12-23  6:06 Miao Yan
  2015-12-23  6:06 ` [Qemu-devel] [PATCH v3 1/5] net/vmxnet3: return 1 on device activation failure Miao Yan
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Miao Yan @ 2015-12-23  6:06 UTC (permalink / raw)
  To: jasowang, dmitry, qemu-devel

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(-)

-- 
1.9.1

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

end of thread, other threads:[~2015-12-24  2:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-23  6:06 [Qemu-devel] [PATCH v3 0/5] correct some register return values for vxmnet3 Miao Yan
2015-12-23  6:06 ` [Qemu-devel] [PATCH v3 1/5] net/vmxnet3: return 1 on device activation failure Miao Yan
2015-12-23  6:06 ` [Qemu-devel] [PATCH v3 2/5] net/vmxnet3: return correct value for VMXNET3_CMD_GET_DID_* command Miao Yan
2015-12-23  6:06 ` [Qemu-devel] [PATCH v3 3/5] net/vmxnet3: return correct value for VMXNET3_CMD_GET_DEV_EXTRA_INFO Miao Yan
2015-12-23  6:06 ` [Qemu-devel] [PATCH v3 4/5] net/vmxnet3: return 0 on unknown command Miao Yan
2015-12-23  6:06 ` [Qemu-devel] [PATCH v3 5/5] net/vmxnet3: rename VMXNET3_DEVICE_VERSION to VMXNET3_UPT_REVISION Miao Yan
2015-12-23  6:29 ` [Qemu-devel] [PATCH v3 0/5] correct some register return values for vxmnet3 Dmitry Fleytman
2015-12-24  2:53   ` Jason Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).