aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2021-02-03 16:01:15 -0800
committerPaolo Bonzini <[email protected]>2021-02-04 09:27:30 -0500
commita8ac864a7d6dbc2fc43081b1eecd9e0183065d47 (patch)
treeeef1dceffffb8792929b3f953093552373ef03cb /lib/mpi/mpi-mod.c
parent6f8e65a60168567cc59f9b99980ea9112d4152f5 (diff)
KVM: x86: Add helper to consolidate "raw" reserved GPA mask calculations
Add a helper to generate the mask of reserved GPA bits _without_ any adjustments for repurposed bits, and use it to replace a variety of open coded variants in the MTRR and APIC_BASE flows. No functional change intended. Signed-off-by: Sean Christopherson <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions