diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-24 01:08:42 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-24 01:08:42 (GMT) |
commit | 3d0ceac129f3ea0b125289055a3aa7519d38df77 (patch) | |
tree | 6918573b28401c11c3cd201fe845effb64bbbf17 /arch/x86/kvm/mmu.c | |
parent | e17b1315832b97700502200f0a3dde3ac0fbc839 (diff) | |
parent | c5e015d4949aa665c486cae6884beb00b97e3dea (diff) | |
download | linux-fsl-qoriq-3d0ceac129f3ea0b125289055a3aa7519d38df77.tar.xz |
Merge tag 'kvm-3.7-2' of git://git.kernel.org/pub/scm/virt/kvm/kvm
Pull kvm fixes from Avi Kivity:
"KVM updates for 3.7-rc2"
* tag 'kvm-3.7-2' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
KVM guest: exit idleness when handling KVM_PV_REASON_PAGE_NOT_PRESENT
KVM: apic: fix LDR calculation in x2apic mode
KVM: MMU: fix release noslot pfn
Diffstat (limited to 'arch/x86/kvm/mmu.c')
-rw-r--r-- | arch/x86/kvm/mmu.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index d289fee..6f85fe0 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c @@ -2497,8 +2497,7 @@ static void mmu_set_spte(struct kvm_vcpu *vcpu, u64 *sptep, } } - if (!is_error_pfn(pfn)) - kvm_release_pfn_clean(pfn); + kvm_release_pfn_clean(pfn); } static void nonpaging_new_cr3(struct kvm_vcpu *vcpu) |