On Mon, Jun 24, 2024 at 11:01:09AM +0200, Gerd Hoffmann wrote:
This patch changes the logic added by commit a6ed6b701f0a ("limit address space used for pci devices.") a bit. Further testing showed that the limit of 46 phys-bits applies to x86_64 kernels only, for i386 kernels the limit is 44. So change the limit from 46 to 44 for better compatibility with i386 guests.
Also add one more condition to refine the configuration heuristic: Apply the limit only in case the guest has less than 1 TB of memory installed, so huge guests run without address space limits.
Thanks, works for me.
Reviewed-by: John Levon john.levon@nutanix.com
regards john