rust-vmm / community

rust-vmm community content
488 stars 27 forks source link

Crate Addition Request: PCI emulation #103

Open sameo opened 3 years ago

sameo commented 3 years ago

Crate Name

pci

Short Description

A PCI host bridge emulation.

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

acatangiu commented 3 years ago

Is this PCI or PCIe like CH uses?

jiangliu commented 3 years ago

+1

sameo commented 3 years ago

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 commented 3 years ago

Sounds good! +1

sameo commented 3 years ago

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

andreeaflorescu commented 3 years ago

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 commented 3 years ago

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

georgepisaltu commented 2 years ago

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 commented 2 years ago

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

andreeaflorescu commented 2 years ago

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