Fascinating. I've never run Manjaro. I may fire up a VM and take a closer look.You won't even get to the live session / setup: Bootscreen runs endless.
Fascinating. I've never run Manjaro. I may fire up a VM and take a closer look.You won't even get to the live session / setup: Bootscreen runs endless.
root@pve:~# qm set 629 -args '-cpu host,level=35,hv_passthrough,+vmx,guest-phys-bits=39'
update VM 629: -args -cpu host,level=32,hv_passthrough,+vmx,guest-phys-bits=39
root@pve:~# qm start 629
kvm: -device vfio-pci,host=0000:00:02.1,id=hostpci0,bus=ich9-pcie-port-1,addr=0x0,romfile=/usr/share/kvm/alderlake_igpu_N100.bin: vfio 0000:00:02.1: Failed to set vIOMMU: aw-bits 48 > host aw-bits 39
start failed: QEMU exited with code 1
root@pve:~# apt policy qemu-serverqemu-server:
Installed: 9.0.18
Candidate: 9.0.18
root@pve:~# cat /proc/cpuinfo
address sizes : 39 bits physical, 48 bits virtual
it is a different setting, see: https://bugzilla.proxmox.com/show_bug.cgi?id=6608https://github.com/proxmox/qemu-server/commit/bf3fc3ce6d4480075dfd1e33d0b95f29c7a511ab
qemu-server (9.0.18) trixie; urgency=medium
* close #6378: expose guest-phys-bits CPU option.
root@pve:/etc/pve/qemu-server# qm set 629 -machine q35,viommu=intel,aw-bits=39
400 Parameter verification failed.
machine: invalid format - format error
machine.aw-bits: property is not defined in schema and the schema does not allow additional properties
qm set <vmid> [OPTIONS]
root@pve:/etc/pve/qemu-server# qm set 629 -machine q35,viommu=intel
update VM 629: -machine q35,viommu=intel
root@pve:/etc/pve/qemu-server# qm set 629 -machine q35,viommu=intel,aw-bits=39
400 Parameter verification failed.
machine: invalid format - format error
machine.aw-bits: property is not defined in schema and the schema does not allow additional properties
qm set <vmid> [OPTIONS]
root@pve:/etc/pve/qemu-server# qm set 629 -args '-cpu host,level=32,hv_passthrough,+vmx,guest-phys-bits=39,aw-bits=39'
update VM 629: -args -cpu host,level=32,hv_passthrough,+vmx,guest-phys-bits=39,aw-bits=39
root@pve:/etc/pve/qemu-server# qm start 629kvm: can't apply global host-x86_64-cpu.aw-bits=39: Property 'host-x86_64-cpu.aw-bits' not found
start failed: QEMU exited with code 1
I can't speak to your setup, but I just installed Manjaro setting it up similar to my debian setup in which I passthrough my video card minus the video card as it was in use, but everything else was set the same. I was able to both boot and run manjaro without issue using virtio viommu, but I will say that the qemu-guest-agent is not installed in the live disk, nor does it install by default. That being said both the live installer and the fully installed (plus agent) didn't crash. Now I wasn't paying attention when I first installed it and was using the i440fx machine instead of the q35 machine and when enabling viommu it did indeed crash the installer and the installed system, but starting over with the q35 (v9.2) I was able to do exactly as my previous system.You won't even get to the live session / setup: Bootscreen runs endless.
Just to update this thread too [0], the Intel vIOMMU's default address bit width value was increased from 39 bits to 48 bits in QEMU 9.2, so the errorThere is no impact unless you use the following settings.
machine: pc-q35-9.2+pve1,viommu=intel
Failed to set vIOMMU: aw-bits 48 > host aw-bits 39
Thank you. Do I need to apply this patch myself to use it? Will it be patched in a future release?Just to update this thread too [0], the Intel vIOMMU's default address bit width value was increased from 39 bits to 48 bits in QEMU 9.2, so the error
Code:Failed to set vIOMMU: aw-bits 48 > host aw-bits 39
can be mitigated by pinning the machine version to 9.1 or lower, which still has the old default value of 39 bits for aw-bits. I'll send a patch, which allows setting the aw-bits property for the vIOMMU.
[0] https://bugzilla.proxmox.com/show_bug.cgi?id=6608#c5
I just sent the patch to the mailing list for review, if we go with exposing theThank you. Do I need to apply this patch myself to use it? Will it be patched in a future release?
aw-bits
option then this patch will be available in a future release.9.1
or lower or setting qm set <vmid> -args '-global intel-iommu.aw-bits=39'
should mitigate the change until the change made it into a future release.Thank you. I'll give it a try.I just sent the patch to the mailing list for review, if we go with exposing theaw-bits
option then this patch will be available in a future release.
For now, setting the machine version to9.1
or lower or settingqm set <vmid> -args '-global intel-iommu.aw-bits=39'
should mitigate the change until the change made it into a future release.
kvm: -device vfio-pci,host=0000:00:02.7,id=hostpci0,bus=pci.0,addr=0x10: vfio 0000:00:02.7: Failed to set vIOMMU: aw-bits 48 > host aw-bits 41
TASK ERROR: start failed: QEMU exited with code 1
We use essential cookies to make this site work, and optional cookies to enhance your experience.