]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
KVM: MMU: fix comment in kvm_mmu_zap_collapsible_spte
authorXiao Guangrong <guangrong.xiao@linux.intel.com>
Tue, 14 Apr 2015 04:04:10 +0000 (12:04 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 15 Apr 2015 15:07:46 +0000 (17:07 +0200)
commitdecf63336e356423300b935afbebeca1fcb15184
tree31e1b7105d2d91c376338ee65dfdd44c852e5878
parent130005231c9f2090b1b177e2cca9841b562c1784
KVM: MMU: fix comment in kvm_mmu_zap_collapsible_spte

Soft mmu uses direct shadow page to fill guest large mapping with small
pages if huge mapping is disallowed on host. So zapping direct shadow
page works well both for soft mmu and hard mmu, it's just less widely
applicable.

Fix the comment to reflect this.

Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Message-Id: <552C91BA.1010703@linux.intel.com>
[Fix comment wording further. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.c