search for: head_size

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

Did you mean: read_size
2013 May 08
1
Parted Bug? in C 5.9
...http://www.gnu.org/software/parted for further information. Your report should contain the version of this release (1.8.1) along with the error message below, the output of parted DEVICE unit co print unit s print and additional information about your setup you consider important. Assertion (head_size <= 63) at dos.c:623 in function probe_partition_for_geom() failed. Backtrace has 15 calls on stack: 15: /usr/lib/libparted-1.8.so.0(ped_assert+0x3b) [0x10af3b] 14: /usr/lib/libparted-1.8.so.0 [0x146194] 13: /usr/lib/libparted-1.8.so.0 [0x146f4d] 12: /usr/lib/libparted-1.8.so.0 [0x1...
2017 Apr 07
0
[RFC PATCH linux] iommu: Add virtio-iommu driver
...ructure + * + * Returns 0 if the request was successful, or an error number otherwise. No + * distinction is done between transport and request errors. + */ +static int viommu_send_req_sync(struct viommu_dev *viommu, void *head_ptr) +{ + int ret; + int nr_sent; + struct viommu_request req; + size_t head_size, tail_size; + struct virtio_iommu_req_tail *tail; + struct virtio_iommu_req_head *head = head_ptr; + + ret = viommu_get_req_size(head, &head_size, &tail_size); + if (ret) + return ret; + + dev_dbg(viommu->dev, "Sending request 0x%x, %zu bytes\n", head->type, + head_size +...
2017 Jun 16
1
[virtio-dev] [RFC PATCH linux] iommu: Add virtio-iommu driver
...uccessful, or an error number > +otherwise. No > + * distinction is done between transport and request errors. > + */ > +static int viommu_send_req_sync(struct viommu_dev *viommu, void > +*head_ptr) { > + int ret; > + int nr_sent; > + struct viommu_request req; > + size_t head_size, tail_size; > + struct virtio_iommu_req_tail *tail; > + struct virtio_iommu_req_head *head = head_ptr; > + > + ret = viommu_get_req_size(head, &head_size, &tail_size); > + if (ret) > + return ret; > + > + dev_dbg(viommu->dev, "Sending request 0x%x, %zu bytes...
2017 Jun 16
1
[virtio-dev] [RFC PATCH linux] iommu: Add virtio-iommu driver
...uccessful, or an error number > +otherwise. No > + * distinction is done between transport and request errors. > + */ > +static int viommu_send_req_sync(struct viommu_dev *viommu, void > +*head_ptr) { > + int ret; > + int nr_sent; > + struct viommu_request req; > + size_t head_size, tail_size; > + struct virtio_iommu_req_tail *tail; > + struct virtio_iommu_req_head *head = head_ptr; > + > + ret = viommu_get_req_size(head, &head_size, &tail_size); > + if (ret) > + return ret; > + > + dev_dbg(viommu->dev, "Sending request 0x%x, %zu bytes...
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