diff options
author | Pierre Morel <pmorel@linux.vnet.ibm.com> | 2017-11-30 13:55:27 +0100 |
---|---|---|
committer | Cornelia Huck <cohuck@redhat.com> | 2017-12-14 17:56:54 +0100 |
commit | 0e7c259adff7e97f829a08a5f146e7ee03b5ae47 (patch) | |
tree | 0bbf0d9a836880db990a915b5bafae68ad56b72d /hw/s390x/s390-pci-bus.h | |
parent | 8cbd6aab9579a1ce0601049ea4bce5ea37a668ce (diff) | |
download | qemu-0e7c259adff7e97f829a08a5f146e7ee03b5ae47.zip qemu-0e7c259adff7e97f829a08a5f146e7ee03b5ae47.tar.gz qemu-0e7c259adff7e97f829a08a5f146e7ee03b5ae47.tar.bz2 |
s390x/pci: rework PCI STORE BLOCK
Enhance the fault detection.
Fixup the precedence to check the destination path existance
before checking for the source accessibility.
Add the maxstbl entry to both the Query PCI Function Group
response and the PCIBusDevice structure.
Initialize the maxstbl to 128 per default until we get
the actual data from the hardware.
Signed-off-by: Pierre Morel <pmorel@linux.vnet.ibm.com>
Reviewed-by: Yi Min Zhao <zyimin@linux.vnet.ibm.com>
Message-Id: <1512046530-17773-5-git-send-email-pmorel@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'hw/s390x/s390-pci-bus.h')
-rw-r--r-- | hw/s390x/s390-pci-bus.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/s390x/s390-pci-bus.h b/hw/s390x/s390-pci-bus.h index 560bd82..2993f0d 100644 --- a/hw/s390x/s390-pci-bus.h +++ b/hw/s390x/s390-pci-bus.h @@ -284,6 +284,7 @@ struct S390PCIBusDevice { uint64_t fmb_addr; uint8_t isc; uint16_t noi; + uint16_t maxstbl; uint8_t sum; S390MsixInfo msix; AdapterRoutes routes; |