KVM: x86: Propagate fpu_alloc errors
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 25 May 2010 14:01:50 +0000 (16:01 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:39:22 +0000 (10:39 +0300)
commit10ab25cd6bf7ee4e5a55d81f203f7dc1a855c27e
tree89b1f58c09a102f1aa5c9b549c13e1f9a0a3ee3d
parent6dc696d4ddf2181eefee361e1d24a49351aef1f6
KVM: x86: Propagate fpu_alloc errors

Memory allocation may fail. Propagate such errors.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c