Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add PCIe support #1160

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

add PCIe support #1160

wants to merge 1 commit into from

Conversation

bonkf
Copy link

@bonkf bonkf commented Jun 5, 2020

This is my current working state of PCIe support in MirageOS. Currently PCIe devices are supported on Linux via mirage-pci-unix and Solo5 (hvt on Linux only) via mirage-pci-solo5, both through mirage-pci. Both versions use the host's IOMMU through VFIO. The only driver currently supported is ixy.ml which acts as a MirageOS network device.

There are still a few little things to be ironed out and a bunch of cleanup to be done, and also the modifications to Solo5 are not upstreamed (and I doubt they will be in the current state). Currently I don't have the time to deal with it. If somebody were to review the code and point out what needs to be done, I'd be happy to take a look in the coming weeks.

I built the modifications against the latest MirageOS stable release and only just now rebased onto master.

To try a full setup an ixgbe-compatible NIC, a modified build of mirage-solo5, a modified build of hvt and ixy.ml are required. I tested such a setup using mirage_iperf with a tweaked config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant