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

2018-10-11 Thread Cornelia Huck
On Wed, 10 Oct 2018 13:03:07 -0400 Tony Krowiak wrote: > +static void vfio_ap_class_init(ObjectClass *klass, void *data) > +{ > +DeviceClass *dc = DEVICE_CLASS(klass); > + > +dc->props = vfio_ap_properties; > +dc->vmsd = &vfio_ap_vmstate; > +dc->desc = "VFIO-based AP device assign

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

2018-10-10 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 f