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

Crate Addition Request: PCI emulation #103

Open
sameo opened this issue Mar 8, 2021 · 10 comments
Open

Crate Addition Request: PCI emulation #103

sameo opened this issue Mar 8, 2021 · 10 comments
Assignees

Comments

@sameo
Copy link

sameo commented Mar 8, 2021

Crate Name

pci

Short Description

A PCI host bridge emulation.

Why is this crate relevant to the rust-vmm project?

  • Support for using PCI as a dynamic device enumeration bus for rust-vmm guests
  • Support for PCI device emulation
  • Support for device passthrough, in combination with the vfio crates
@sameo sameo self-assigned this Mar 8, 2021
@acatangiu
Copy link

Is this PCI or PCIe like CH uses?

@jiangliu
Copy link
Member

+1

@sameo
Copy link
Author

sameo commented May 17, 2021

Is this PCI or PCIe like CH uses?

Most likely PCI-e if we want it to support modern PCI-e devices passthrough and have them being exposed as such.

@acatangiu
Copy link

Sounds good! +1

@sameo
Copy link
Author

sameo commented May 18, 2021

Everyone is ok with simply calling it pci? Or do we want to be fancy with vmm-pci ?

@andreeaflorescu
Copy link
Member

pci is already taken on crates.io. The other crates are named vm-something. Should we use the same naming convention?

Do we envision multiple pci related crates? And in this case should we create a repository pci-ws (or something like that) which would then contain a single crate called vm-pci (or the name we decide to give it)?

@sameo
Copy link
Author

sameo commented May 18, 2021

I don't think we need several pci related crates. So I vote for vm-pci.

@georgepisaltu
Copy link

Hi all,

We'd like to contribute to vm-pci. We want to start with the PCI configuration space abstractions, which would help users of the crate interact with a common interface for accessing the PCI configuration space. It will also be a place for PCI constants (such as IDs related to PCI capabilities defined in the specification).

We're ready to start work here and we'd like to have the crate created so we can post PRs.

@andreeaflorescu
Copy link
Member

https://github.com/rust-vmm/vm-pci I've created the repo.

@andreeaflorescu
Copy link
Member

We still need to setup the CI for the repository, we'll update this issue once this is done.

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

No branches or pull requests

5 participants