Morph io_thread_wakeup into qemu.git's qemu_event_read
commit71c02bf14dbe2619796c4c33cc9582f10a44ee60
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 10 Feb 2010 23:09:14 +0000 (11 00:09 +0100)
committerAvi Kivity <avi@redhat.com>
Wed, 17 Feb 2010 12:52:05 +0000 (17 14:52 +0200)
tree2e0e3f2628b143bcd7a362a1e17d8c016000f48a
parent6ff317702d178d1a25db4d72b1a9787250f93702
Morph io_thread_wakeup into qemu.git's qemu_event_read

Again, no need to loop if less than a full buffer is read, the next
read would return EAGAIN.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
qemu-kvm.c