]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: ensure kvm_ipc__register_handler success
authorYang Bai <hamo.by@gmail.com>
Fri, 10 Feb 2012 09:55:36 +0000 (17:55 +0800)
committerPekka Enberg <penberg@kernel.org>
Fri, 10 Feb 2012 11:37:24 +0000 (13:37 +0200)
commit4f2193a07ee54be6778a6e40e1df84c03d15978a
treea47bbd69035887555a3f275e19d6a966d126d78c
parent62964f64be8d75170e691f48db820ba98a93dbe2
kvm tools: ensure kvm_ipc__register_handler success

By checking the return value from kvm_ipc__register_handler,
we can ensure that it succeeds.

Signed-off-by: Yang Bai <hamo.by@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/kvm.c