]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
KVM: pci-assign: do not map smm memory slot pages in vt-d page tables
authorHerongguang (Stephen) <herongguang.he@huawei.com>
Mon, 27 Mar 2017 07:21:17 +0000 (15:21 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 28 Mar 2017 08:08:54 +0000 (10:08 +0200)
commit0292e169b2d9c8377a168778f0b16eadb1f578fd
treecbe2ed3445aa765e31b22b41104342929c43f93d
parent90db10434b163e46da413d34db8d0e77404cc645
KVM: pci-assign: do not map smm memory slot pages in vt-d page tables

or VM memory are not put thus leaked in kvm_iommu_unmap_memslots() when
destroy VM.

This is consistent with current vfio implementation.

Signed-off-by: herongguang <herongguang.he@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
virt/kvm/kvm_main.c