aboutsummaryrefslogtreecommitdiff
path: root/ui/sdl2-input.c
diff options
context:
space:
mode:
authorMiao Yan <yanmiaobest@gmail.com>2015-12-22 22:06:09 -0800
committerJason Wang <jasowang@redhat.com>2016-01-11 11:01:34 +0800
commit5ae3e91c3502df90fb0ca9c76ac6eb5c2363264f (patch)
treeed643515757ca039e9484f3fc4168ca4a0fafe66 /ui/sdl2-input.c
parentc469669ef7b4ee2ec1e0db0053ada6809c5b5f98 (diff)
downloadqemu-5ae3e91c3502df90fb0ca9c76ac6eb5c2363264f.zip
qemu-5ae3e91c3502df90fb0ca9c76ac6eb5c2363264f.tar.gz
qemu-5ae3e91c3502df90fb0ca9c76ac6eb5c2363264f.tar.bz2
net/vmxnet3: return correct value for VMXNET3_CMD_GET_DEV_EXTRA_INFO
VMXNET3_CMD_GET_DEV_EXTRA_INFO should return 0 for emulation mode This behavior can be observed by the following steps: 1) run a Linux distro on esxi server (5.x+) 2) modify vmxnet3 Linux driver to read the register: VMXNET3_WRITE_BAR1_REG(adapter, VMXNET3_REG_CMD, VMXNET3_CMD_GET_DEV_EXTRA_INFO); ret = VMXNET3_READ_BAR1_REG(adapter, VMXNET3_REG_CMD); pr_info("vmxnet3 dev_info: 0x%x\n", ret); The kernel log will have some like the following message: [ 7005.111170] vmxnet3 dev_info: 0x0 Signed-off-by: Miao Yan <yanmiaobest@gmail.com> Reviewed-by: Dmitry Fleytman <dmitry@daynix.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'ui/sdl2-input.c')
0 files changed, 0 insertions, 0 deletions