vhost: Delete thread configuration when interface deleted 99/3899/2
authorPierre Pfister <ppfister@cisco.com>
Mon, 21 Nov 2016 12:50:38 +0000 (12:50 +0000)
committerDamjan Marion <dmarion.lists@gmail.com>
Thu, 24 Nov 2016 09:34:56 +0000 (09:34 +0000)
commit7a91b46e03f8d67d2669050fdb890ef11c31de79
tree2bf28e7edfe84435b9fec961d8a802b3d9da3a6f
parentc5bf07fabe46c175890bb5661a85ed076fbf7f2d
vhost: Delete thread configuration when interface deleted

It does not make sense to keep interface configuration
when a vhost interface is deleted.
This fix makes sure thread configuration is removed.

Change-Id: I4b3b75d98c15b544c32928f79ef52b7622a86b75
Signed-off-by: Pierre Pfister <ppfister@cisco.com>
vnet/vnet/devices/virtio/vhost-user.c