diff options
| author | Sean Christopherson <seanjc@google.com> | 2021-02-03 16:01:15 -0800 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-02-04 09:27:30 -0500 |
| commit | a8ac864a7d6dbc2fc43081b1eecd9e0183065d47 (patch) | |
| tree | eef1dceffffb8792929b3f953093552373ef03cb /lib/mpi/mpiutil.c | |
| parent | 6f8e65a60168567cc59f9b99980ea9112d4152f5 (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 <seanjc@google.com>
Message-Id: <20210204000117.3303214-11-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
