]> git.proxmox.com Git - qemu.git/commit - vl.c
do not loop on an incomplete io_thread_fd read
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 2 Feb 2010 19:33:09 +0000 (20:33 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 10 Feb 2010 17:56:56 +0000 (11:56 -0600)
commit1d0f0d91f298cbda1990edc92cf8ac306c474cdf
tree8f2164481bb49d62012099e0e33e0df087e2b162
parent889ae39c9adad4fbfc1da56c40c78f035f3da32d
do not loop on an incomplete io_thread_fd read

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: Anthony Liguori <aliguori@us.ibm.com>
vl.c