]> git.proxmox.com Git - mirror_qemu.git/commit
vhost-user: delete chardev on cleanup
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 24 Jan 2017 19:02:58 +0000 (23:02 +0400)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 1 Feb 2017 01:37:18 +0000 (03:37 +0200)
commite0b283e7c5b020c3e54629d8b82117db0af21cca
tree06ab8fed2a8fbc61217077c330bba62783d1225f
parentd56ec1e98c0005933fe677d633484297f422691a
vhost-user: delete chardev on cleanup

Remove the chardev implicitly when cleaning up the netdev. This
prevents from reusing the chardev since it would be in an incorrect
state with the slave.

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1256618

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
net/vhost-user.c