On Wed, 14 Mar 2012 14:18:47 -0300 Luiz Capitulino <lcapitul...@redhat.com> wrote:
> > + ret = write(fd, buf, size); > > + if (ret != size) { > > + return -1; > > + } > > I think you should use send_all() instead of plain write(). Missed the fact that we actually have qemu_write_full().