diff options
author | Pierre Morel <pmorel@linux.vnet.ibm.com> | 2016-08-24 12:53:31 +0200 |
---|---|---|
committer | Cornelia Huck <cornelia.huck@de.ibm.com> | 2016-10-31 10:02:09 +0100 |
commit | 88ee13c7b656e5504613b527f3a51591e9afae69 (patch) | |
tree | 5d18d4882e42970a09399f77b52c8a68d98a9793 /hw/vfio | |
parent | 45bbcd35d75b5fc893758a2344d2cb9381a60b37 (diff) |
s390x/pci: Check memory region dispatching callbacks
The instructions PCI STORE, PCI LOAD and PCI STORE BLOCK
use calls to memory_region_dispatch_write() and
memory_region_dispatch_read() but do not test the return value.
Furthermore, the instruction PCI STORE BLOCK sets up a PGM_ADDRESSING
exception when the operand 3 is not within the designated PCI address
space instead of a PGM_OPERAND exception.
Let's setup a PGM_OPERAND exception in all of these failure cases.
Signed-off-by: Pierre Morel <pmorel@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'hw/vfio')
0 files changed, 0 insertions, 0 deletions