From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anpXk-0001BN-LX for qemu-devel@nongnu.org; Wed, 06 Apr 2016 11:39:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1anpXg-0000QS-FL for qemu-devel@nongnu.org; Wed, 06 Apr 2016 11:38:56 -0400 Received: from mail-qk0-x242.google.com ([2607:f8b0:400d:c09::242]:36308) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anpXg-0000Po-Ad for qemu-devel@nongnu.org; Wed, 06 Apr 2016 11:38:52 -0400 Received: by mail-qk0-x242.google.com with SMTP id e124so2317988qkc.3 for ; Wed, 06 Apr 2016 08:38:52 -0700 (PDT) Sender: =?UTF-8?B?TWFyYy1BbmRyw6kgTHVyZWF1?= From: marcandre.lureau@redhat.com Date: Wed, 6 Apr 2016 17:38:46 +0200 Message-Id: <1459957128-17685-1-git-send-email-marcandre.lureau@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH 0/2] vhost-user: release chardev on cleanup List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , n.nikolaev@virtualopensystems.com, mst@redhat.com From: Marc-André Lureau The following 2 one-liners remove the chardev from the vhost-user netdev it is attached to. This prevents from further reuse of the chardev that would likely fail to setup again with the slave. Related to: https://bugzilla.redhat.com/show_bug.cgi?id=1256619 https://bugzilla.redhat.com/show_bug.cgi?id=1256618 rfc->v1: - rfc was sent a few months ago, no comments: rebased & resend as non-rfc this time. Marc-André Lureau (2): vhost-user: release chardev on cleanup vhost-user: delete chardev on cleanup net/vhost-user.c | 3 +++ 1 file changed, 3 insertions(+) -- 2.5.5