Thread (10 messages) 10 messages, 2 authors, 2026-08-14

Re: [PATCH v4 3/3] vhost/vsock: keep IOTLB across feature updates

From: Jia Jia <hidden>
Date: 2026-08-14 11:56:40
Also in: kvm, lkml, virtualization

Will we do the same in vhost-net? If yes, all the callers will call
vhost_init_device_iotlb() with dev.iotlb NULL, so should we remove
that behaviour and add the check we are adding here inside the
vhost_init_device_iotlb()?

Or there is an use case where vhost_init_device_iotlb() is called with
an already initialized dev.iotlb ?
I will check whether there is any valid use case for calling
vhost_init_device_iotlb() with an already initialized dev->iotlb. If
there is no such use case, I will move the check into
vhost_init_device_iotlb() and apply the same change to vhost-net as
well.

Thanks,
Jia
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help