Paolo Bonzini 5b33e015d3 coroutine-sleep: use a stack-allocated timer
The lifetime of the timer is well-known (it cannot outlive
qemu_co_sleep_ns_wakeable, because it's deleted by the time the
coroutine resumes), so it is not necessary to place it on the heap.

Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 20210517100548.28806-2-pbonzini@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2021-05-21 18:22:33 +01:00
..
2021-05-11 04:11:14 -04:00
2021-04-30 12:27:47 +02:00
2021-05-10 13:55:28 +02:00
2020-12-10 17:16:44 +01:00
2021-05-06 18:56:17 +01:00
2021-04-30 12:27:47 +02:00
2021-04-01 15:27:44 +04:00