Lines Matching refs:vhost_net
29 VHostNetState *vhost_net; member
39 return s->vhost_net; in vhost_user_get_vhost_net()
54 if (s->vhost_net) { in vhost_user_save_acked_features()
55 uint64_t features = vhost_net_get_acked_features(s->vhost_net); in vhost_user_save_acked_features()
72 if (s->vhost_net) { in vhost_user_stop()
74 vhost_net_cleanup(s->vhost_net); in vhost_user_stop()
83 struct vhost_net *net = NULL; in vhost_user_start()
114 if (s->vhost_net) { in vhost_user_start()
115 vhost_net_cleanup(s->vhost_net); in vhost_user_start()
116 g_free(s->vhost_net); in vhost_user_start()
118 s->vhost_net = net; in vhost_user_start()
148 r = vhost_net_notify_migration_done(s->vhost_net, mac_addr); in vhost_user_receive()
165 if (s->vhost_net) { in net_vhost_user_cleanup()
166 vhost_net_cleanup(s->vhost_net); in net_vhost_user_cleanup()
167 g_free(s->vhost_net); in net_vhost_user_cleanup()
168 s->vhost_net = NULL; in net_vhost_user_cleanup()
378 assert(s->vhost_net); in net_vhost_user_init()