kvm-s390: fix return value of kvm_arch_init_vm
commitb3b7ff87396c6b2aa125fdb65ba892064a59f7dd
authorCarsten Otte <cotte@de.ibm.com>
Tue, 18 Oct 2011 10:27:13 +0000 (18 12:27 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Wed, 19 Oct 2011 16:21:13 +0000 (19 14:21 -0200)
tree22a5f396c34d5cc2caa90ff28eab6394f73cb429
parent3b8f0237d12e35ee2635a1028298ea008399a6cc
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