-
-
Notifications
You must be signed in to change notification settings - Fork 606
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
virtio-pci: discover shared memory regions
The latest virtio spec adds shared memory regions: "Shared memory regions are an additional facility available to devices that need a region of memory that’s continuously shared between the device and the driver, rather than passed between them in the way virtqueue elements are." In virtio over PCI, these are enumerated as a sequence of VIRTIO_PCI_CAP_SHARED_MEMORY_CFG capabilities, one per region. This patch extends the virtio over PCI implementation to discover all such regions provided by a device. Signed-off-by: Fotis Xenakis <[email protected]> Message-Id: <VI1PR03MB438308A0EFF0221BAB6CC9F7A6F90@VI1PR03MB4383.eurprd03.prod.outlook.com>
- Loading branch information
Showing
2 changed files
with
78 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters