search for: vhost_iova_tree_new

Displaying 2 results from an estimated 2 matches for "vhost_iova_tree_new".

2023 Mar 06
0
[PATCH v4 01/15] vdpa net: move iova tree creation from init to start
...+static void vhost_vdpa_net_data_start_first(VhostVDPAState *s) > > >>> +{ > > >>> + struct vhost_vdpa *v = &s->vhost_vdpa; > > >>> + > > >>> + if (v->shadow_vqs_enabled) { > > >>> + v->iova_tree = vhost_iova_tree_new(v->iova_range.first, > > >>> + v->iova_range.last); > > >>> + } > > >>> +} > > >>> + > > >>> +static int vhost_vdpa_net_data_start(NetClientState *nc) > > >>>...
2023 Feb 22
0
[PATCH v2 07/13] vdpa: add vdpa net migration state notifier
...t; + > static void vhost_vdpa_net_data_start_first(VhostVDPAState *s) > { > struct vhost_vdpa *v = &s->vhost_vdpa; > > + add_migration_state_change_notifier(&s->migration_state); > if (v->shadow_vqs_enabled) { > v->iova_tree = vhost_iova_tree_new(v->iova_range.first, > v->iova_range.last); > @@ -278,6 +349,10 @@ static void vhost_vdpa_net_client_stop(NetClientState *nc) > > assert(nc->info->type == NET_CLIENT_DRIVER_VHOST_VDPA); > > + if (s->vhost_v...