Open
Conversation
Support mapping PCI by BDF to ioreq server via Xen DM calls, which shall be used by virtio-pci transport code. Signed-off-by: Sergiy Kibrik <Sergiy_Kibrik@epam.com>
Initial introduction of Virtio PCI transport protocol support. Fundamentals are covered: it can present itself to ioreq server, provide PCI config space with basic configuration of virtio block device, handshake with frontend driver, map single MMIO BAR and operate split virtqueue. Corner and special cases not implemented yet and mostly are stubs. Only modern virtio-pci interface supported. Benchmarks show similar performance of virtio-mmio transport. Most of files and code imported from upstream kvmtool project, either directly or with substantial modifications. Signed-off-by: Sergiy Kibrik <Sergiy_Kibrik@epam.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A draft PR for initial virtio-pci transport backend support.
CLI inderface of virtio_disk not changed, as well as default behaviour. Only a bunch of code added, so that preliminary comments could be addressed. Patches to actually use this code and integrate it with Xen interface are yet to be presented.