> From: Xie Yongji <[email protected]> > Sent: Monday, May 16, 2022 2:04 AM > > Introduce a device object for vdpa management device to control its > lifecycle. Why is this needed? What is the limitation of current approach that requires new device for mgmtdev? The primary motivation is missing in the commit log here. > And the device name will be used to match > VDPA_ATTR_MGMTDEV_DEV_NAME field of netlink message rather than > using parent device name. > > With this patch applied, drivers should use vdpa_mgmtdev_alloc() or > _vdpa_mgmtdev_alloc() to allocate a vDPA management device before > calling vdpa_mgmtdev_register(). And some buggy empty release function > can also be removed from the driver codes. What is the bug, can you please explain? _______________________________________________ Virtualization mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/virtualization
RE: [PATCH v2 2/3] vdpa: Add a device object for vdpa management device
Parav Pandit via Virtualization Mon, 16 May 2022 13:06:37 -0700
- Re: [PATCH v2 2/3] vdpa: Add a device obje... Greg KH
- Re: [PATCH v2 2/3] vdpa: Add a device... Michael S. Tsirkin
- Re: [PATCH v2 2/3] vdpa: Add a device... Jason Wang
- Re: [PATCH v2 2/3] vdpa: Add a de... Michael S. Tsirkin
- Re: [PATCH v2 2/3] vdpa: Add ... Michael S. Tsirkin
- Re: [PATCH v2 2/3] vdpa: ... Greg KH
- Re: [PATCH v2 2/3] v... Jason Wang
- Re: [PATCH v2 2/... Greg KH
- RE: [PATCH v2 2/3] vdpa: Add a device... Parav Pandit via Virtualization
- RE: [PATCH v2 2/3] vdpa: Add a de... Parav Pandit via Virtualization
- Re: [PATCH v2 2/3] vdpa: Add ... [email protected]
- RE: [PATCH v2 2/3] vdpa: ... Parav Pandit via Virtualization
- Re: [PATCH v2 2/3] v... Jason Wang
- RE: [PATCH v2 2/... Parav Pandit via Virtualization
- Re: [PATCH v... Jason Wang
- RE: [PATCH v... Parav Pandit via Virtualization
