On Fri, 23 Aug 2024 15:18:32 -0700, Sean Christopherson wrote: > Explicitly force host-phys-bits for the access tests that intends to run > with the host's MAXPHYADDR, as QEMU only forces host-phys-bits for "max" > CPUs as of version 6.0 (see commit 5a140b255d ("x86/cpu: Use max host > physical address if -cpu max option is applied")). > > Running the access test with an older QEMU, e.g. 5.3, on a CPU with > MAXPHYADDR=52 and allow_smaller_maxphyaddr=N (i.e. with TDP enabled) > fails miserably as the test isn't aware that bit 51 is a legal physical > address bit. > > [...] Applied to kvm-x86 next (and now pulled by Paolo). Thanks! [1/1] x86: Force host-phys-bits for normal maxphyaddr access tests https://github.com/kvm-x86/kvm-unit-tests/commit/b8e135d6bb48 -- https://github.com/kvm-x86/kvm-unit-tests/tree/next