kvm: Add handling of EAGAIN when creating timers
authorAndreas Sandberg <andreas@sandberg.pp.se>
Mon, 3 Jun 2013 11:38:59 +0000 (13:38 +0200)
committerAndreas Sandberg <andreas@sandberg.pp.se>
Mon, 3 Jun 2013 11:38:59 +0000 (13:38 +0200)
commit15f81b6ed9a2bc9821c90a4058b7b528e001a10f
tree58d6aa25eb6edef0b794ffd310790ec0844ebad9
parent743f80712e08f02f7b3a9a286550e2635104f714
kvm: Add handling of EAGAIN when creating timers

timer_create can apparently return -1 and set errno to EAGAIN if the
kernel suffered a temporary failure when allocating a timer. This
happens from time to time, so we need to handle it.
src/cpu/kvm/timer.cc