Skip to content
Commit a323845d authored by David Matlack's avatar David Matlack Committed by Sean Christopherson
Browse files

KVM: selftests: Expect #PF(RSVD) when TDP is disabled



Change smaller_maxphyaddr_emulation_test to expect a #PF(RSVD), rather
than an emulation failure, when TDP is disabled. KVM only needs to
emulate instructions to emulate a smaller guest.MAXPHYADDR when TDP is
enabled.

Fixes: 39bbcc3a ("selftests: kvm: Allows userspace to handle emulation errors.")
Signed-off-by: default avatarDavid Matlack <dmatlack@google.com>
Link: https://lore.kernel.org/r/20221102184654.282799-10-dmatlack@google.com


[sean: massage comment to talk about having to emulate due to MAXPHYADDR]
Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
parent b9635930
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment