Lines Matching refs:vhost_net
28 VHostNetState *vhost_net; member
38 return s->vhost_net; in vhost_user_get_vhost_net()
53 if (s->vhost_net) { in vhost_user_save_acked_features()
54 uint64_t features = vhost_net_get_acked_features(s->vhost_net); in vhost_user_save_acked_features()
71 if (s->vhost_net) { in vhost_user_stop()
73 vhost_net_cleanup(s->vhost_net); in vhost_user_stop()
82 struct vhost_net *net = NULL; in vhost_user_start()
113 if (s->vhost_net) { in vhost_user_start()
114 vhost_net_cleanup(s->vhost_net); in vhost_user_start()
115 g_free(s->vhost_net); in vhost_user_start()
117 s->vhost_net = net; in vhost_user_start()
147 r = vhost_net_notify_migration_done(s->vhost_net, mac_addr); in vhost_user_receive()
164 if (s->vhost_net) { in net_vhost_user_cleanup()
165 vhost_net_cleanup(s->vhost_net); in net_vhost_user_cleanup()
166 g_free(s->vhost_net); in net_vhost_user_cleanup()
167 s->vhost_net = NULL; in net_vhost_user_cleanup()
375 assert(s->vhost_net); in net_vhost_user_init()