Home
last modified time | relevance | path

Searched hist:e6bcb1b61782cefacecc8b9ee7a5f782373dab2d (Results 1 – 3 of 3) sorted by relevance

/qemu/hw/net/
H A Dvhost_net.ce6bcb1b61782cefacecc8b9ee7a5f782373dab2d 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 Dvhost-user.ce6bcb1b61782cefacecc8b9ee7a5f782373dab2d 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 Dtap.ce6bcb1b61782cefacecc8b9ee7a5f782373dab2d 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>