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

Open
braucktoon opened this issue Sep 17, 2024 · 3 comments
Open

Passing through PCI device #1107

braucktoon opened this issue Sep 17, 2024 · 3 comments

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

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

No branches or pull requests

3 participants