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