diff options
| author | Kai Huang <kai.huang@linux.intel.com> | 2019-05-03 03:08:52 -0700 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-06-04 19:27:26 +0200 |
| commit | 7b6f8a06e482960ba6ab06faba51c8f3727a5c7b (patch) | |
| tree | d5cb5ccc719c30699134b06195d40214038c2172 /scripts/gdb/linux/utils.py | |
| parent | f8d221d2e0e1572d0d60174c118e3554d1aa79fa (diff) | |
kvm: x86: Move kvm_set_mmio_spte_mask() from x86.c to mmu.c
As a prerequisite to fix several SPTE reserved bits related calculation
errors caused by MKTME, which requires kvm_set_mmio_spte_mask() to use
local static variable defined in mmu.c.
Also move call site of kvm_set_mmio_spte_mask() from kvm_arch_init() to
kvm_mmu_module_init() so that kvm_set_mmio_spte_mask() can be static.
Reviewed-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Kai Huang <kai.huang@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
