]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Repair running on non ioeventfd-capable platforms
authorMatt Evans <matt@ozlabs.org>
Tue, 31 Jan 2012 06:30:41 +0000 (17:30 +1100)
committerPekka Enberg <penberg@kernel.org>
Tue, 31 Jan 2012 06:58:17 +0000 (08:58 +0200)
commit44287ddffd44815970aa3d5de5acbc205c3a069c
tree539da409c312b8c53b965861f591dcb9e9d56224
parent10e48a8b0d54800f48e77d55945d7bd1c01e74f5
kvm tools: Repair running on non ioeventfd-capable platforms

Commit d3923126a24212f1e746a84a575dadbd9f259418 added a bunch of
nice error checking around ioevent__init() but the init may gracefully
fail if ioevents simply aren't supported (PPC64 KVM).

This commit adds a new return code for the init -- positive, but
identifiable as 'not success 0'.

Signed-off-by: Matt Evans <matt@ozlabs.org>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/ioeventfd.c