[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [qemu-s390x] [PATCH v11 5/6] s390x/vfio: ap: Introduce VFIO AP devic
From: |
Cornelia Huck |
Subject: |
Re: [qemu-s390x] [PATCH v11 5/6] s390x/vfio: ap: Introduce VFIO AP device |
Date: |
Thu, 11 Oct 2018 12:30:35 +0200 |
On Wed, 10 Oct 2018 13:03:07 -0400
Tony Krowiak <address@hidden> 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 assignment";
> + dc->realize = vfio_ap_realize;
> + dc->unrealize = vfio_ap_unrealize;
> + dc->hotpluggable = false;
> + dc->reset = vfio_ap_reset;
> + dc->bus_type = TYPE_AP_BUS;
> +}
> +
> +static const TypeInfo vfio_ap_info = {
> + .name = VFIO_AP_DEVICE_TYPE,
> + .parent = AP_DEVICE_TYPE,
> + .instance_size = sizeof(VFIOAPDevice),
> + .class_init = vfio_ap_class_init,
> +};
> +
> +static void vfio_ap_type_init(void)
> +{
> + type_register_static(&vfio_ap_info);
> +}
> +
> +type_init(vfio_ap_type_init)
This device is missing the categorization, which was already requested
in a previous version. I added it to the misc category myself.
- [qemu-s390x] [PATCH v11 0/6] s390x: vfio-ap: guest dedicated crypto adapters, Tony Krowiak, 2018/10/10
- [qemu-s390x] [PATCH v11 2/6] s390x/cpumodel: Set up CPU model for AP device support, Tony Krowiak, 2018/10/10
- [qemu-s390x] [PATCH v11 1/6] linux-headers: linux header updates for AP support, Tony Krowiak, 2018/10/10
- [qemu-s390x] [PATCH v11 3/6] s390x/kvm: enable AP instruction interpretation for guest, Tony Krowiak, 2018/10/10
- [qemu-s390x] [PATCH v11 4/6] s390x/ap: base Adjunct Processor (AP) object model, Tony Krowiak, 2018/10/10
- [qemu-s390x] [PATCH v11 5/6] s390x/vfio: ap: Introduce VFIO AP device, Tony Krowiak, 2018/10/10
- [qemu-s390x] [PATCH v11 6/6] s390: doc: detailed specifications for AP virtualization, Tony Krowiak, 2018/10/10
- Re: [qemu-s390x] [PATCH v11 0/6] s390x: vfio-ap: guest dedicated crypto adapters, Christian Borntraeger, 2018/10/10
- Re: [qemu-s390x] [PATCH v11 0/6] s390x: vfio-ap: guest dedicated crypto adapters, Cornelia Huck, 2018/10/11