Re: [PATCH v2 4/9] s390x/pci: enable for load/store intepretation

2022-01-31 Thread Matthew Rosato
On 1/31/22 9:46 AM, Pierre Morel wrote: On 1/14/22 21:38, Matthew Rosato wrote: Use the associated vfio feature ioctl to enable interpretation for devices when requested.  As part of this process, we must use the host function handle rather than a QEMU-generated one -- this is provided as par

Re: [PATCH v2 4/9] s390x/pci: enable for load/store intepretation

2022-01-31 Thread Pierre Morel
On 1/14/22 21:38, Matthew Rosato wrote: Use the associated vfio feature ioctl to enable interpretation for devices when requested. As part of this process, we must use the host function handle rather than a QEMU-generated one -- this is provided as part of the ioctl payload. I wonder if we

Re: [PATCH v2 4/9] s390x/pci: enable for load/store intepretation

2022-01-31 Thread Pierre Morel
On 1/14/22 21:38, Matthew Rosato wrote: Use the associated vfio feature ioctl to enable interpretation for devices when requested. As part of this process, we must use the host function handle rather than a QEMU-generated one -- this is provided as part of the ioctl payload. Signed-off-by: M

Re: [PATCH v2 4/9] s390x/pci: enable for load/store intepretation

2022-01-18 Thread Matthew Rosato
On 1/17/22 10:38 AM, Thomas Huth wrote: On 14/01/2022 21.38, Matthew Rosato wrote: Use the associated vfio feature ioctl to enable interpretation for devices when requested.  As part of this process, we must use the host function handle rather than a QEMU-generated one -- this is provided as pa

Re: [PATCH v2 4/9] s390x/pci: enable for load/store intepretation

2022-01-18 Thread Matthew Rosato
On 1/17/22 9:51 AM, Thomas Huth wrote: On 14/01/2022 21.38, Matthew Rosato wrote: ...   static void s390_pcihost_plug(HotplugHandler *hotplug_dev, DeviceState *dev,     Error **errp)   {   S390pciState *s = S390_PCI_HOST_BRIDGE(hotplug_dev);   PCIDevice *pde

Re: [PATCH v2 4/9] s390x/pci: enable for load/store intepretation

2022-01-17 Thread Thomas Huth
On 14/01/2022 21.38, Matthew Rosato wrote: Use the associated vfio feature ioctl to enable interpretation for devices when requested. As part of this process, we must use the host function handle rather than a QEMU-generated one -- this is provided as part of the ioctl payload. Signed-off-by: M

Re: [PATCH v2 4/9] s390x/pci: enable for load/store intepretation

2022-01-17 Thread Thomas Huth
On 14/01/2022 21.38, Matthew Rosato wrote: Use the associated vfio feature ioctl to enable interpretation for devices when requested. As part of this process, we must use the host function handle rather than a QEMU-generated one -- this is provided as part of the ioctl payload. Signed-off-by: M

[PATCH v2 4/9] s390x/pci: enable for load/store intepretation

2022-01-14 Thread Matthew Rosato
Use the associated vfio feature ioctl to enable interpretation for devices when requested. As part of this process, we must use the host function handle rather than a QEMU-generated one -- this is provided as part of the ioctl payload. Signed-off-by: Matthew Rosato --- hw/s390x/s390-pci-bus.c