Re: [PATCH v2 2/2] net: move backend cleanup to NIC cleanup

2024-10-22 Thread Jason Wang
On Fri, Sep 13, 2024 at 12:54 AM Eugenio Pérez wrote: > > Commit a0d7215e33 ("vhost-vdpa: do not cleanup the vdpa/vhost-net > structures if peer nic is present") effectively delayed the backend > cleanup, allowing the frontend or the guest to access it resources as > long as the frontend is still

Re: [PATCH v2 2/2] net: move backend cleanup to NIC cleanup

2024-10-09 Thread Jason Wang
On Wed, Sep 18, 2024 at 11:57 AM Si-Wei Liu wrote: > > > > On 9/12/2024 9:54 AM, Eugenio Pérez wrote: > > Commit a0d7215e33 ("vhost-vdpa: do not cleanup the vdpa/vhost-net > > structures if peer nic is present") effectively delayed the backend > > cleanup, allowing the frontend or the guest to acc

Re: [PATCH v2 2/2] net: move backend cleanup to NIC cleanup

2024-09-17 Thread Si-Wei Liu
On 9/12/2024 9:54 AM, Eugenio Pérez wrote: Commit a0d7215e33 ("vhost-vdpa: do not cleanup the vdpa/vhost-net structures if peer nic is present") effectively delayed the backend cleanup, allowing the frontend or the guest to access it resources as long as the frontend is still visible to the gu

[PATCH v2 2/2] net: move backend cleanup to NIC cleanup

2024-09-12 Thread Eugenio Pérez
Commit a0d7215e33 ("vhost-vdpa: do not cleanup the vdpa/vhost-net structures if peer nic is present") effectively delayed the backend cleanup, allowing the frontend or the guest to access it resources as long as the frontend is still visible to the guest. However it does not clean up the resources