commit | d7fa6ab217aeed26293e01d7b64f79a1ac57e823 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yjwei@cn.fujitsu.com> | Fri Jan 22 16:55:05 2010 +0800 |
committer | Marcelo Tosatti <mtosatti@redhat.com> | Mon Mar 01 12:36:05 2010 -0300 |
tree | 3a9a3d829ca9e3df18d43aa01591ee3635828c4e | |
parent | 0c04851c0c093ce98ab4ca69556480d779292418 [diff] |
KVM: MMU: Remove some useless code from alloc_mmu_pages() If we fail to alloc page for vcpu->arch.mmu.pae_root, call to free_mmu_pages() is unnecessary, which just do free the page malloc for vcpu->arch.mmu.pae_root. Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>