Host: Proxmox 9, AMD Zen4, kvm_amd nested=1.
- Download
Qubes-R4.3.1-x86_64.isoto/var/lib/vz/template/iso. - Create the VM:
- q35 machine
- SeaBIOS
- 12GB+ RAM,
balloon 0 - 4 cores
- 80GB+ virtio disk
vga stdserial0 socket- NIC
e1000
- Set the critical args:
qm set <id> --args "-machine kernel-irqchip=split -cpu EPYC-Rome,+svm,+npt,+nrip-save,+invtsc -device intel-iommu,intremap=on,caching-mode=on".
- Boot the ISO and install normally via the Proxmox console.
- Continue past the "Unsupported Hardware" warning, it only reflects the emulated IOMMU.
- In Initial Setup, uncheck the sys-usb option and keep the rest default.
- If sys-net fails to start: set
qvm-prefs sys-net virt_mode hvmand assign the NIC withqvm-pci assign --required -o no-strict-reset=true -o permissive=true sys-net dom0:<port>. - Give sys-net a static IP via Network Manager if the bridge has no DHCP.
-cpu EPYC-Rome,...:hoston Zen4 triple-faults the PV dom0 kernel right after "Poking KASLR".+svm,+npt: without them Xen sees no HVM/HAP and no qube can start.intel-iommuandkernel-irqchip=split: without a vIOMMU, libxl refuses PCI passthrough ("passthrough not supported on this platform"). sys-net then cannot get the NIC. Split irqchip is a hard requirement of the emulated IOMMU.e1000, not e1000e or virtio: e1000e MSI-X corrupts the heap of the sys-net stubdomain QEMU (malloc_consolidatecrash in xen_pt). e1000 has no MSI and works.
- Changing the NIC model changes the PCI identity. The stale
requiredassignment in/var/lib/qubes/qubes.xmlthen blocks sys-net ("device not available"). Stop qubesd, delete the<device>line, restart, re-assign. - Templates can be (re)installed offline from
/var/lib/qubes/template-packages/*.rpmwithqvm-template install --nogpgcheck. Runqubesctl saltutil.sync_allbefore anyqubesctl state.sls qvm.*.