vmxnet3: Support reading IMR registers on bar0
commitc6048f849c7e3f009786df76206e895a69de032c
authorShmulik Ladkani <shmulik.ladkani@ravellosystems.com>
Mon, 21 Sep 2015 14:09:02 +0000 (21 17:09 +0300)
committerJason Wang <jasowang@redhat.com>
Mon, 12 Oct 2015 05:19:29 +0000 (12 13:19 +0800)
treeca425fd786850c6f7dd32cdc3b674a77b4528dad
parenta7278b36fcab9af469563bd7b9dadebe2ae25e48
vmxnet3: Support reading IMR registers on bar0

Instead of asserting, return the actual IMR register value.
This is aligned with what's returned on ESXi.

Signed-off-by: Shmulik Ladkani <shmulik.ladkani@ravellosystems.com>
Tested-by: Dana Rubin <dana.rubin@ravellosystems.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/vmxnet3.c