Re: [PATCH v4 4/5] hw/virtio: cleanup shared resources

2024-03-12 Thread Michael S. Tsirkin
On Mon, Feb 19, 2024 at 03:34:22PM +0100, Albert Esteve wrote: > Ensure that we cleanup all virtio shared > resources when the vhost devices is cleaned > up (after a hot unplug, or a crash). > > To do so, we add a new function to the virtio_dmabuf > API called `virtio_dmabuf_vhost_cleanup`, which

Re: [PATCH v4 4/5] hw/virtio: cleanup shared resources

2024-02-20 Thread Manos Pitsidianakis
On Mon, 19 Feb 2024 16:34, Albert Esteve wrote: Ensure that we cleanup all virtio shared resources when the vhost devices is cleaned up (after a hot unplug, or a crash). To do so, we add a new function to the virtio_dmabuf API called `virtio_dmabuf_vhost_cleanup`, which loop through the table a