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

Passing through PCI device #1107

Closed
braucktoon opened this issue Sep 17, 2024 · 3 comments · Fixed by #1162
Closed

Passing through PCI device #1107

braucktoon opened this issue Sep 17, 2024 · 3 comments · Fixed by #1162
Assignees
Labels
type/enhancement An improvement of existing functionality

Comments

@braucktoon
Copy link

I am attempting to passthrough iGPU using Terraform and Telmate provider. I need the equivalent of this screen shot.
image
When I pass through manually, it works, when I pass through using args in terraform file like this, it does not work:
args = "-device vfio-pci,host=00:02.0,x-vga=off"

I did not see much in the doc on how to do this. Does Telmate support this?

@braucktoon
Copy link
Author

I was able to get this to work using

hostpci {
host = "0000:00:02.0"
rombar = 1
pcie = 0
}

However, I also need the All Functions to be enabled. From looking at the code, unsure this is possible. Looks like those 3 arguments are it. Can someone confirm?

@Tinyblargon
Copy link
Collaborator

@braucktoon yeah the pcie isn't that well supported. There are plans to overhaul it in the library we use to talk to PVE proxmox-api-go, as the datastructure of the library does not match with PVE.

@jovermier
Copy link

I am also struggling to get this working

@Tinyblargon Tinyblargon added the type/enhancement An improvement of existing functionality label Nov 21, 2024
@Tinyblargon Tinyblargon self-assigned this Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement An improvement of existing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants