Re: [Qemu-devel] [PATCH v9 5/6] s390x/vfio: ap: Introduce VFIO AP device

2018-10-04 Thread Pierre Morel
On 27/09/2018 00:54, Tony Krowiak wrote: Introduces a VFIO based AP device. The device is defined via the QEMU command line by specifying: -device vfio-ap,sysfsdev= There may be only one vfio-ap device configured for a guest. The mediated matrix device is created by the VFIO AP device

Re: [Qemu-devel] [PATCH v9 5/6] s390x/vfio: ap: Introduce VFIO AP device

2018-10-04 Thread Pierre Morel
On 27/09/2018 00:54, Tony Krowiak wrote: Introduces a VFIO based AP device. The device is defined via the QEMU command line by specifying: -device vfio-ap,sysfsdev= There may be only one vfio-ap device configured for a guest. The mediated matrix device is created by the VFIO AP device

Re: [Qemu-devel] [PATCH v9 5/6] s390x/vfio: ap: Introduce VFIO AP device

2018-09-27 Thread David Hildenbrand
> +static void vfio_ap_realize(DeviceState *dev, Error **errp) > +{ > +int ret; > +char *mdevid; > +Error *local_err = NULL; > +VFIOGroup *vfio_group; > +APDevice *apdev = DO_UPCAST(APDevice, parent_obj, dev); > +VFIOAPDevice *vapdev = DO_UPCAST(VFIOAPDevice, apdev,

[Qemu-devel] [PATCH v9 5/6] s390x/vfio: ap: Introduce VFIO AP device

2018-09-26 Thread Tony Krowiak
Introduces a VFIO based AP device. The device is defined via the QEMU command line by specifying: -device vfio-ap,sysfsdev= There may be only one vfio-ap device configured for a guest. The mediated matrix device is created by the VFIO AP device driver by writing a UUID to a sysfs attribute