Re: [PATCH v2 01/13] include: attempt to document device_class_set_props

2023-05-23 Thread Stefan Hajnoczi
On Tue, Apr 18, 2023 at 05:21:28PM +0100, Alex Bennée wrote: > I'm still not sure how I achieve by use case of the parent class > defining the following properties: > > static Property vud_properties[] = { > DEFINE_PROP_CHR("chardev", VHostUserDevice, chardev), >

Re: [PATCH v2 01/13] include: attempt to document device_class_set_props

2023-04-20 Thread Mark Cave-Ayland
On 18/04/2023 17:21, Alex Bennée wrote: I'm still not sure how I achieve by use case of the parent class defining the following properties: static Property vud_properties[] = { DEFINE_PROP_CHR("chardev", VHostUserDevice, chardev), DEFINE_PROP_UINT16("id", VHostUserDevice, id,

[PATCH v2 01/13] include: attempt to document device_class_set_props

2023-04-18 Thread Alex Bennée
I'm still not sure how I achieve by use case of the parent class defining the following properties: static Property vud_properties[] = { DEFINE_PROP_CHR("chardev", VHostUserDevice, chardev), DEFINE_PROP_UINT16("id", VHostUserDevice, id, 0), DEFINE_PROP_UINT32("num_vqs",