Re: [PATCH v1] vhost: Fix used memslot tracking when destroying a vhost device

2025-07-16 Thread David Hildenbrand
On 16.07.25 15:31, Michael Tokarev wrote: On 03.06.2025 14:13, David Hildenbrand wrote: When we unplug a vhost device, we end up calling vhost_dev_cleanup() where we do a memory_listener_unregister(). This memory_listener_unregister() call will end up disconnecting the listener from the address

Re: [PATCH v1] vhost: Fix used memslot tracking when destroying a vhost device

2025-07-16 Thread Michael Tokarev
On 03.06.2025 14:13, David Hildenbrand wrote: When we unplug a vhost device, we end up calling vhost_dev_cleanup() where we do a memory_listener_unregister(). This memory_listener_unregister() call will end up disconnecting the listener from the address space through listener_del_address_space()

Re: [PATCH v1] vhost: Fix used memslot tracking when destroying a vhost device

2025-06-11 Thread Igor Mammedov
On Tue, 3 Jun 2025 13:13:36 +0200 David Hildenbrand wrote: > When we unplug a vhost device, we end up calling vhost_dev_cleanup() > where we do a memory_listener_unregister(). > > This memory_listener_unregister() call will end up disconnecting the > listener from the address space through list

[PATCH v1] vhost: Fix used memslot tracking when destroying a vhost device

2025-06-03 Thread David Hildenbrand
When we unplug a vhost device, we end up calling vhost_dev_cleanup() where we do a memory_listener_unregister(). This memory_listener_unregister() call will end up disconnecting the listener from the address space through listener_del_address_space(). In that process, we effectively communicate t