-
-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Support configuring viommu #1749
Comments
I guess need to at least fix the validation:
|
Hey @nakamorichi 👋🏼 Would you be open to creating a PR to implement that? :) I don't think adding an extra In an ideal world, I would have: machine {
type = "q35"
viommu = "virtio"
} But that would be a breaking change for almost everyone. So perhaps we can consider this for #1231. |
I confirmed on my local Mac, just fixing the validation seems to be enough. @bpg Separating viommu to independent config value seems to be better approach indeed. Regarding the plugin framework, I'm not sure I have enough spare time currently to take deeper look into it. In case we don't want to add new config value, would it be ok to at least modify the validation so that people can at least get the setting work? No need to even change documentation, but just loosen the validation so that those who need are able to pass the setting without being blocked by the validation? Btw, unrelated issue; I would like this to also be fixed: https://registry.terraform.io/providers/bpg/proxmox/latest/docs/resources/virtual_environment_file#source_raw-1 (currently source_raw argument doesn't work properly). |
Yeah, that's what I'm inclining to. Don't stress much, feel free to open a PR, and we can collaborate to move it over the finish line :)
Not sure what do you mean by "doesn't work properly"? Would you mind opening a new ticket to provide more details? |
I am trying to create a
proxmox_virtual_environment_vm
that uses a virtio viommu. I cannot find a way to do this.Using
qm
the IOMMU is selected by adding,viommu=virtio
to the machine type:https://pve.proxmox.com/wiki/PCI(e)_Passthrough#qm_pci_viommu
https://pve.proxmox.com/pve-docs/pve-admin-guide.html#qm_pci_viommu
If I set my machine type to
q35,viommu=virtio
, the machine type fails validation:I cannot find a way to configure viommu using the provider, even after searching the source code.
I would like the ability to select a viommu. Either via the machine attribute or a separate attribute would work for me.
The text was updated successfully, but these errors were encountered: