search for: dev_hdr

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

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
2015 Nov 18
2
[RFC] kvmtool: add support for modern virtio-pci
...lt;linux/types.h> @@ -11,14 +12,9 @@ struct kvm; -struct virtio_pci_ioevent_param { - struct virtio_device *vdev; - u32 vq; -}; - #define VIRTIO_PCI_F_SIGNAL_MSI (1 << 0) -struct virtio_pci { +struct virtio_pci_modern { struct pci_device_header pci_hdr; struct device_header dev_hdr; void *dev; @@ -28,6 +24,9 @@ struct virtio_pci { u32 mmio_addr; u8 status; u8 isr; + u32 device_features_sel; + u32 driver_features_sel; + u32 features; /* @@ -52,10 +51,10 @@ struct virtio_pci { struct virtio_pci_ioevent_param ioeventfds[VIRTIO_PCI_MAX_VQ]; }; -in...
2015 Nov 18
2
[RFC] kvmtool: add support for modern virtio-pci
...lt;linux/types.h> @@ -11,14 +12,9 @@ struct kvm; -struct virtio_pci_ioevent_param { - struct virtio_device *vdev; - u32 vq; -}; - #define VIRTIO_PCI_F_SIGNAL_MSI (1 << 0) -struct virtio_pci { +struct virtio_pci_modern { struct pci_device_header pci_hdr; struct device_header dev_hdr; void *dev; @@ -28,6 +24,9 @@ struct virtio_pci { u32 mmio_addr; u8 status; u8 isr; + u32 device_features_sel; + u32 driver_features_sel; + u32 features; /* @@ -52,10 +51,10 @@ struct virtio_pci { struct virtio_pci_ioevent_param ioeventfds[VIRTIO_PCI_MAX_VQ]; }; -in...