Open
Description
when creating a new qemu vm the "machine" parameter is not noticed which breakes hostpci passthrough for pcie devices:
machine = "q35"
bios = "ovmf"
hostpci {
device = "hostpci0"
id = "0000:03:00"
xvga = true
pcie = true
}
produces:
proxmox_virtual_environment_vm.gaming: Creating...
╷
│ Error: error waiting for VM start: task "UPID:server:0000550D:000780EC:67C30E2D:qmstart:106:root@pam:" failed to complete with exit code: q35 machine model is not enabled at /usr/share/perl5/PVE/QemuServer/PCI.pm line 491.
│
│ with proxmox_virtual_environment_vm.gaming,
│ on qemu-gaming.tf line 1, in resource "proxmox_virtual_environment_vm" "gaming":
│ 1: resource "proxmox_virtual_environment_vm" "gaming" {
│
Metadata
Metadata
Assignees
Labels
Projects
Status
☑️ Todo