search for: vhost_fd

Displaying 4 results from an estimated 4 matches for "vhost_fd".

2015 Nov 18
2
[RFC] kvmtool: add support for modern virtio-pci
...G_RXBUF | 1UL << (ndev->queue_pairs > 1 ? VIRTIO_NET_F_MQ : 0); + + return features >> (32 * sel); } static int virtio_net__vhost_set_features(struct net_dev *ndev) @@ -466,31 +468,42 @@ static int virtio_net__vhost_set_features(struct net_dev *ndev) return ioctl(ndev->vhost_fd, VHOST_SET_FEATURES, &features); } -static void set_guest_features(struct kvm *kvm, void *dev, u32 features) +static void notify_status(struct kvm *kvm, void *dev, u8 status) { + static bool init_done; struct net_dev *ndev = dev; struct virtio_net_config *conf = &ndev->config;...
2015 Nov 18
2
[RFC] kvmtool: add support for modern virtio-pci
...G_RXBUF | 1UL << (ndev->queue_pairs > 1 ? VIRTIO_NET_F_MQ : 0); + + return features >> (32 * sel); } static int virtio_net__vhost_set_features(struct net_dev *ndev) @@ -466,31 +468,42 @@ static int virtio_net__vhost_set_features(struct net_dev *ndev) return ioctl(ndev->vhost_fd, VHOST_SET_FEATURES, &features); } -static void set_guest_features(struct kvm *kvm, void *dev, u32 features) +static void notify_status(struct kvm *kvm, void *dev, u8 status) { + static bool init_done; struct net_dev *ndev = dev; struct virtio_net_config *conf = &ndev->config;...
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