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

Introduce PCI devices #1509

Merged
merged 3 commits into from May 7, 2024
Merged

Introduce PCI devices #1509

merged 3 commits into from May 7, 2024

Conversation

bsatzger
Copy link
Contributor

@bsatzger bsatzger commented Apr 25, 2024

This PR adds a model representing PCI devices. A PCI device always belongs to a single VM host and may be bound to a single VM. In addition, it adds the ability to HostNexus to learn about PCI devices. For now, we only consider NVIDIA devices for which IOMMU is enabled.

@bsatzger bsatzger changed the title Introduce simple GPU model and LearnGpu prog Introduce PCI devices May 7, 2024
@bsatzger bsatzger marked this pull request as ready for review May 7, 2024 08:22
model/pci_device.rb Show resolved Hide resolved
model/pci_device.rb Outdated Show resolved Hide resolved
model/vm.rb Outdated Show resolved Hide resolved
model/vm_host.rb Outdated Show resolved Hide resolved
Create table pci_device, which backs model PciDevice.
Adds the concept of a PCI device. A PCI device always belongs to
a single VM host and may be bound to a single VM.
This commit adds the ability to HostNexus to learn about PCI devices.
For now, we only consider NVIDIA devices for which IOMMU is enabled.
@bsatzger bsatzger merged commit 816d182 into main May 7, 2024
6 checks passed
@bsatzger bsatzger deleted the ben/learn_gpu branch May 7, 2024 14:10
@github-actions github-actions bot locked and limited conversation to collaborators May 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants