qemu/hw/s390x
Matthew Rosato 1e7552ff5c s390x/pci: get zPCI function info from host
We use the capability chains of the VFIO_DEVICE_GET_INFO ioctl to retrieve
the CLP information that the kernel exports.

To be compatible with previous kernel versions we fall back on previous
predefined values, same as the emulation values, when the ioctl is found
to not support capability chains. If individual CLP capabilities are not
found, we fall back on default values for only those capabilities missing
from the chain.

This patch is based on work previously done by Pierre Morel.

Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
[aw: non-Linux build fixes]
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2020-11-01 12:30:52 -07:00
..
3270-ccw.c
ap-bridge.c
ap-device.c
ccw-device.c
ccw-device.h
css-bridge.c
css.c
event-facility.c s390/sclp: read sccb from mem based on provided length 2020-10-02 13:52:49 +02:00
ipl.c
ipl.h
Kconfig
meson.build s390x/pci: Add routine to get the vfio dma available count 2020-11-01 12:30:52 -07:00
pv.c
s390-ccw.c
s390-pci-bus.c s390x/pci: get zPCI function info from host 2020-11-01 12:30:52 -07:00
s390-pci-inst.c s390x/pci: use a PCI Function structure 2020-11-01 12:30:52 -07:00
s390-pci-vfio.c s390x/pci: get zPCI function info from host 2020-11-01 12:30:52 -07:00
s390-skeys-kvm.c
s390-skeys.c
s390-stattrib-kvm.c
s390-stattrib.c
s390-virtio-ccw.c s390x/pci: Move header files to include/hw/s390x 2020-11-01 12:30:51 -07:00
s390-virtio-hcall.c
s390-virtio-hcall.h
sclp.c s390x: pv: Remove sclp boundary checks 2020-10-22 15:47:27 +02:00
sclpcpu.c
sclpquiesce.c
tod-kvm.c
tod-qemu.c
tod.c
trace-events s390x/pci: get zPCI function info from host 2020-11-01 12:30:52 -07:00
trace.h
vhost-user-fs-ccw.c
vhost-vsock-ccw.c
virtio-ccw-9p.c
virtio-ccw-balloon.c
virtio-ccw-blk.c
virtio-ccw-crypto.c
virtio-ccw-gpu.c
virtio-ccw-input.c
virtio-ccw-net.c
virtio-ccw-rng.c
virtio-ccw-scsi.c
virtio-ccw-serial.c
virtio-ccw.c
virtio-ccw.h