s390x/pci: reflect proper maxstbl for groups of interpreted devices
commit9ee8f7e46a7d42ede69a4780200129bf1acb0d01
authorMatthew Rosato <mjrosato@linux.ibm.com>
Fri, 2 Sep 2022 17:27:36 +0000 (2 13:27 -0400)
committerThomas Huth <thuth@redhat.com>
Mon, 26 Sep 2022 15:23:47 +0000 (26 17:23 +0200)
treeaa573c2d1410da949a910d1719ae545fdd2686d5
parent30dcf4f7fd23bef7d72a2454c60881710fd4c785
s390x/pci: reflect proper maxstbl for groups of interpreted devices

The maximum supported store block length might be different depending
on whether the instruction is interpretively executed (firmware-reported
maximum) or handled via userspace intercept (host kernel API maximum).
Choose the best available value during group creation.

Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com>
Reviewed-by: Pierre Morel <pmorel@linux.ibm.com>
Message-Id: <20220902172737.170349-8-mjrosato@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/s390x/s390-pci-vfio.c