]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: fix return value of kvm_arch_init_vm
authorCarsten Otte <cotte@de.ibm.com>
Tue, 18 Oct 2011 10:27:13 +0000 (12:27 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 30 Oct 2011 10:23:55 +0000 (12:23 +0200)
commit5e83a6219dffcd7255d8f874fe8c0d636dfec1ba
tree00fd0ae4b160736f5fc9055ecc7822d4361cf7f1
parent1bcb44e87fdfdbd5dda63d36d147b3bca6d58a2d
KVM: s390: fix return value of kvm_arch_init_vm

This patch fixes the return value of kvm_arch_init_vm in case a memory
allocation goes wrong.

Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/s390/kvm/kvm-s390.c