Searched hist:e6bcb1b61782cefacecc8b9ee7a5f782373dab2d (Results 1 – 3 of 3) sorted by relevance
/qemu/hw/net/ |
H A D | vhost_net.c | e6bcb1b61782cefacecc8b9ee7a5f782373dab2d Tue Jul 26 21:15:12 UTC 2016 Marc-André Lureau <marcandre.lureau@redhat.com> vhost-user: keep vhost_net after a disconnection
Many code paths assume get_vhost_net() returns non-null.
Keep VhostUserState.vhost_net after a successful vhost_net_init(), instead of freeing it in vhost_net_cleanup().
VhostUserState.vhost_net is thus freed before after being recreated or on final vhost_user_cleanup() and there is no need to save the acked features.
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>
|
/qemu/net/ |
H A D | vhost-user.c | e6bcb1b61782cefacecc8b9ee7a5f782373dab2d Tue Jul 26 21:15:12 UTC 2016 Marc-André Lureau <marcandre.lureau@redhat.com> vhost-user: keep vhost_net after a disconnection
Many code paths assume get_vhost_net() returns non-null.
Keep VhostUserState.vhost_net after a successful vhost_net_init(), instead of freeing it in vhost_net_cleanup().
VhostUserState.vhost_net is thus freed before after being recreated or on final vhost_user_cleanup() and there is no need to save the acked features.
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>
|
H A D | tap.c | e6bcb1b61782cefacecc8b9ee7a5f782373dab2d Tue Jul 26 21:15:12 UTC 2016 Marc-André Lureau <marcandre.lureau@redhat.com> vhost-user: keep vhost_net after a disconnection
Many code paths assume get_vhost_net() returns non-null.
Keep VhostUserState.vhost_net after a successful vhost_net_init(), instead of freeing it in vhost_net_cleanup().
VhostUserState.vhost_net is thus freed before after being recreated or on final vhost_user_cleanup() and there is no need to save the acked features.
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>
|