Re: [PATCH 2/2] virtio: Add shared memory capability

2022-01-06 Thread Antonio Caggiano
Where's that commit? I think we should drop this, right? Yes, I will submit another version without that line. You don't need & mask32 I think. cpu_to_le32 will truncate the value. Makes sense, will be fixed in next version. So it's a new API, but where's the user? I guess just include thi

Re: [PATCH 2/2] virtio: Add shared memory capability

2022-01-06 Thread Michael S. Tsirkin
On Wed, Nov 10, 2021 at 05:42:20PM +0100, Antonio Caggiano wrote: > From: "Dr. David Alan Gilbert" > > Define a new capability type 'VIRTIO_PCI_CAP_SHARED_MEMORY_CFG' > and the data structure 'virtio_pci_shm_cap' to go with it. > They allow defining shared memory regions with sizes and offsets >

[PATCH 2/2] virtio: Add shared memory capability

2021-11-10 Thread Antonio Caggiano
From: "Dr. David Alan Gilbert" Define a new capability type 'VIRTIO_PCI_CAP_SHARED_MEMORY_CFG' and the data structure 'virtio_pci_shm_cap' to go with it. They allow defining shared memory regions with sizes and offsets of 2^32 and more. Multiple instances of the capability are allowed and disting