]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Make kvm__arch_setup_firmware to return error code
authorCyrill Gorcunov <gorcunov@gmail.com>
Sun, 18 Dec 2011 20:24:56 +0000 (00:24 +0400)
committerPekka Enberg <penberg@kernel.org>
Wed, 21 Dec 2011 20:26:50 +0000 (22:26 +0200)
commitc17523f705ca3e790946ba8b9d17fd7a762c2c3b
tree101b2ef5c528a26cc1c330fc2c50cb05d64b53e7
parent8a89322715d349920afb2ab9bf01949f09ee50db
kvm tools: Make kvm__arch_setup_firmware to return error code

If some of subsequent calls fails we better to return error
code instead of dying with a message. This is a first step
in getting rid of number of die() calls we have in code.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/builtin-run.c
tools/kvm/include/kvm/kvm.h
tools/kvm/powerpc/kvm.c
tools/kvm/x86/include/kvm/mptable.h
tools/kvm/x86/kvm.c
tools/kvm/x86/mptable.c