> From: Jason Wang <[email protected]> > Sent: Wednesday, May 18, 2022 4:32 AM > > 在 2022/5/18 07:03, Parav Pandit 写道: > >>> And regarding vduse_dev_release() and existing empty release > >>> function, > >> they can be dynamically allocated. > >>> This is because they are really the struct device. > >> I do not understand this statement, sorry. > > It was bad sentence, my bad. > > > > What I wanted to say is, probably better explained with real patch below. > > In context of [1], struct vduse_mgmtdev empty release function can be > avoided by below inline patch [2]. > > > > [1]https://www.spinics.net/lists/linux-virtualization/msg56371.html > > > > [2] patch: > > > Ok, if we go this way (looks more like mdev_parent). I think we need at least > rename the vdpa_mgmt_device, maybe vdpa_parent (like mdev_parent)? > It can be. Parent is also a device. So... Since there are no further comments on the inline patch, I will send it as separate patch this week. _______________________________________________ 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 Sun, 22 May 2022 19:01:06 -0700
- 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 obje... Parav Pandit via Virtualization
- RE: [PATCH v2 2/3] vdpa: Add a device... Parav Pandit via Virtualization
- Re: [PATCH v2 2/3] vdpa: Add a de... [email protected]
- RE: [PATCH v2 2/3] vdpa: Add ... Parav Pandit via Virtualization
- Re: [PATCH v2 2/3] vdpa: ... Jason Wang
- RE: [PATCH v2 2/3] v... Parav Pandit via Virtualization
- Re: [PATCH v2 2/... Jason Wang
- RE: [PATCH v2 2/... Parav Pandit via Virtualization
