summary refs log tree commit diff stats
path: root/hw/core
diff options
context:
space:
mode:
authorGavin Shan <gwshan@linux.vnet.ibm.com>2016-06-15 14:28:27 +1000
committerDavid Gibson <david@gibson.dropbear.id.au>2016-06-17 15:59:18 +1000
commitd917e88d85a147a99f38a62a4f95cac21e366d51 (patch)
tree8b58a292aa7ff8c805376bfb7e74d91dc6987676 /hw/core
parent35b5066ea7c2c3051fbc5a24b3d463b9800063e2 (diff)
downloadfocaccia-qemu-d917e88d85a147a99f38a62a4f95cac21e366d51.tar.gz
focaccia-qemu-d917e88d85a147a99f38a62a4f95cac21e366d51.zip
vfio: Fix broken EEH
vfio_eeh_container_op() is the backend that communicates with
host kernel to support EEH functionality in QEMU. However, the
functon should return the value from host kernel instead of 0
unconditionally.

dwg: Specifically the problem occurs for the handful of EEH
sub-operations which can return a non-zero, non-error result.

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Acked-by: Alex Williamson <alex.williamson@redhat.com>
[dwg: clarification to commit message]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/core')
0 files changed, 0 insertions, 0 deletions