commit | 4700579241d2d587765a58dddd1b2a89902767c0 | [log] [tgz] |
---|---|---|
author | Takuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp> | Fri Nov 20 17:46:29 2015 +0900 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Wed Nov 25 17:27:06 2015 +0100 |
tree | 614e2e96dd8acc2d8f84ee48ad80db91e8f6928b | |
parent | 77fbbbd2f09fae486190bb2bd7142647dc2a6e8b [diff] |
KVM: x86: MMU: Move initialization of parent_ptes out from kvm_mmu_alloc_page() Make kvm_mmu_alloc_page() do just what its name tells to do, and remove the extra allocation error check and zero-initialization of parent_ptes: shadow page headers allocated by kmem_cache_zalloc() are always in the per-VCPU pools. Signed-off-by: Takuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>