diff options
author | Paolo Bonzini <[email protected]> | 2021-02-06 09:53:33 -0500 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2021-02-08 14:49:01 -0500 |
commit | 897218ff7cf19290ec2d69652ce673d8ed6fedeb (patch) | |
tree | e2901b8ab7865dc22205fdd57c173f72279aad19 /lib/mpi | |
parent | e36b250e502a6145fa95a3d93af83ba66fc6ae1b (diff) |
KVM: x86: compile out TDP MMU on 32-bit systems
The TDP MMU assumes that it can do atomic accesses to 64-bit PTEs.
Rather than just disabling it, compile it out completely so that it
is possible to use for example 64-bit xchg.
To limit the number of stubs, wrap all accesses to tdp_mmu_enabled
or tdp_mmu_page with a function. Calls to all other functions in
tdp_mmu.c are eliminated and do not even reach the linker.
Reviewed-by: Sean Christopherson <[email protected]>
Tested-by: Sean Christopherson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions