HVM no bootable device after gpu passthrough

the recent patch applied to xen that should fix the max-ram-below-4g thing modified the behavior of this loop (allow_memory_relocate is now defined to 0 instead of 1, it should never have been set to 1 for our usecase )

You could try to downgrade the xen version to before 4.17.2-8 to check if it work with the manual max-ram-below-4g workaround

In case everything else fail, someone could create a patch to add log in this code to monitor the value of all the important variables ( pci_mem_start / hvm_info->low_mem_pgend / hvm_info->low_mem_pgend << PAGE_SHIFT / pci_mem_end ), recompile xen with this patch, activate all xen logs, start the HVM and publish the logs related to the startup of the HVM. And compare it with the logs of people that doesn’t have this issue

Could be interesting to check the influence of this patch qemu: fix TOLUD for PCI passthrough by mati7337 · Pull Request #44 · QubesOS/qubes-vmm-xen-stubdom-linux · GitHub ( is it still needed ? does it have an influence on the issue you are having ? )

3 Likes