search for: iova_range

Displaying 6 results from an estimated 6 matches for "iova_range".

2023 Mar 06
0
[PATCH v4 01/15] vdpa net: move iova tree creation from init to start
...et_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) > > >>> +{ > > &gt...
2023 Mar 06
0
[PATCH v4 12/15] vdpa: block migration if device has unsupported features
...int nvqs, > > >>>> bool is_datapath, > > >>>> bool svq, > > >>>> - struct vhost_vdpa_iova_range iova_range) > > >>>> + struct vhost_vdpa_iova_range iova_range, > > >>>> + uint64_t features) > > >>>> { > > >>>> NetClientState *nc = NULL;...
2023 Feb 22
0
[PATCH v2 07/13] vdpa: add vdpa net migration state notifier
...ost_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_vdpa.index == 0) {...
2023 Feb 22
0
[PATCH v2 09/13] vdpa net: block migration if the device has CVQ
...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_vdpa.dev->migration_blocker, > + "net vdpa cannot migrate with MQ feature"); > } > >...
2017 Apr 07
34
[RFC 0/3] virtio-iommu: a paravirtualized IOMMU
This is the initial proposal for a paravirtualized IOMMU device using virtio transport. It contains a description of the device, a Linux driver, and a toy implementation in kvmtool. With this prototype, you can translate DMA to guest memory from emulated (virtio), or passed-through (VFIO) devices. In its simplest form, implemented here, the device handles map/unmap requests from the guest. Future
2017 Apr 07
34
[RFC 0/3] virtio-iommu: a paravirtualized IOMMU
This is the initial proposal for a paravirtualized IOMMU device using virtio transport. It contains a description of the device, a Linux driver, and a toy implementation in kvmtool. With this prototype, you can translate DMA to guest memory from emulated (virtio), or passed-through (VFIO) devices. In its simplest form, implemented here, the device handles map/unmap requests from the guest. Future