search for: type_vhost_vdpa

Displaying 3 results from an estimated 3 matches for "type_vhost_vdpa".

2023 Mar 06
0
[PATCH v4 12/15] vdpa: block migration if device has unsupported features
...er, 0, vhost_vdpa_net_cvq_cmd_page_len()); > > >>>> @@ -956,7 +960,7 @@ int net_init_vhost_vdpa(const Netdev *netdev, const char *name, > > >>>> for (i = 0; i < queue_pairs; i++) { > > >>>> ncs[i] = net_vhost_vdpa_init(peer, TYPE_VHOST_VDPA, name, > > >>>> vdpa_device_fd, i, 2, true, opts->x_svq, > > >>>> - iova_range); > > >>>> + iova_range, features); > > >&...
2023 Mar 06
0
[PATCH v4 01/15] vdpa net: move iova tree creation from init to start
...t; ncs = g_malloc0(sizeof(*ncs) * queue_pairs); > > >>> @@ -825,7 +881,7 @@ int net_init_vhost_vdpa(const Netdev *netdev, const char *name, > > >>> for (i = 0; i < queue_pairs; i++) { > > >>> ncs[i] = net_vhost_vdpa_init(peer, TYPE_VHOST_VDPA, name, > > >>> vdpa_device_fd, i, 2, true, opts->x_svq, > > >>> - iova_range, iova_tree); > > >>> + iova_range); > > >>>...
2023 Feb 22
0
[PATCH v2 09/13] vdpa net: block migration if the device has CVQ
.....309861e56c 100644 > --- a/net/vhost-vdpa.c > +++ b/net/vhost-vdpa.c > @@ -955,11 +955,17 @@ int net_init_vhost_vdpa(const Netdev *netdev, const char *name, > } > > if (has_cvq) { > + VhostVDPAState *s; > + > nc = net_vhost_vdpa_init(peer, TYPE_VHOST_VDPA, name, > vdpa_device_fd, i, 1, false, > opts->x_svq, iova_range); > if (!nc) > goto err; > + > + s = DO_UPCAST(VhostVDPAState, nc, nc); > + error_setg(&s->vhost...