]> xenbits.xensource.com Git - qemu-xen.git/commit
vhost-user: save features if the char dev is closed
authorAdrian Moreno <amorenoz@redhat.com>
Tue, 24 Sep 2019 16:20:44 +0000 (18:20 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 4 Nov 2019 14:09:49 +0000 (08:09 -0600)
commit7b404cae7fa2850d476c29258f03b8e77a5b4bd0
tree9311f9ada1668f510153efa95f7ebae417f05632
parentd868d30db6799cf0bc7da7ec67ca6be1e8ec07b2
vhost-user: save features if the char dev is closed

That way the state can be correctly restored when the device is opened
again. This might happen if the backend is restarted.

Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1738768
Reported-by: Pei Zhang <pezhang@redhat.com>
Fixes: 6ab79a20af3a ("do not call vhost_net_cleanup() on running net from char user event")
Cc: ddstreet@canonical.com
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Adrian Moreno <amorenoz@redhat.com>
Message-Id: <20190924162044.11414-1-amorenoz@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit c6beefd674fff8d41b90365dfccad32e53a5abcb)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
net/vhost-user.c