summaryrefslogtreecommitdiffstats
path: root/Documentation/virtual/kvm/mmu.txt
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-04-08 15:39:23 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2015-06-05 17:26:36 +0200
commit54bf36aac520315385fe7623a5c3a698e993ceda (patch)
treee2885af8aa45f6053d8df9c06a8fb4010a4df338 /Documentation/virtual/kvm/mmu.txt
parentKVM: x86: pass struct kvm_mmu_page to gfn_to_rmap (diff)
downloadlinux-54bf36aac520315385fe7623a5c3a698e993ceda.tar.xz
linux-54bf36aac520315385fe7623a5c3a698e993ceda.zip
KVM: x86: use vcpu-specific functions to read/write/translate GFNs
We need to hide SMRAM from guests not running in SMM. Therefore, all uses of kvm_read_guest* and kvm_write_guest* must be changed to check whether the VCPU is in system management mode and use a different set of memslots. Switch from kvm_* to the newly-introduced kvm_vcpu_*, which call into kvm_arch_vcpu_memslots_id. Reviewed-by: Radim Krčmář <rkrcmar@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Documentation/virtual/kvm/mmu.txt')
0 files changed, 0 insertions, 0 deletions