Thread (135 messages) 135 messages, 4 authors, 2017-04-05

Re: [PATCH v3 21/22] vhost: do not destroy device on repeat mem table message

From: Maxime Coquelin <hidden>
Date: 2017-03-31 09:26:26


On 03/28/2017 02:45 PM, Yuanhan Liu wrote:
It doesn't make any sense to invoke destroy_device() callback at
while handling SET_MEM_TABLE message.

From the vhost-user spec, it's the GET_VRING_BASE message indicates
the end of a vhost device: the destroy_device() should be invoked
from there (luckily, we already did that).

Signed-off-by: Yuanhan Liu <redacted>
---
 lib/librte_vhost/vhost_user.c | 6 ------
 1 file changed, 6 deletions(-)
Reviewed-by: Maxime Coquelin <redacted>

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