commit | b7af40433870aa0636932ad39b0c48a0cb319057 | [log] [tgz] |
---|---|---|
author | Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp> | Tue Mar 09 14:55:19 2010 +0900 |
committer | Avi Kivity <avi@redhat.com> | Tue Apr 20 12:55:04 2010 +0300 |
tree | 8eedc46a94d00d986e3a50b716e14c76e1bacaea | |
parent | 7567cae105e435b53e5a3e778546dd3ec53e3204 [diff] |
KVM: SVM: Fix memory leaks that happen when svm_create_vcpu() fails svm_create_vcpu() does not free the pages allocated during the creation when it fails to complete the allocations. This patch fixes it. Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp> Signed-off-by: Avi Kivity <avi@redhat.com>