Re: [Qemu-devel] Re: [PATCH 01/14] Introduce qemu_write_full()

2010-01-19 Thread Jamie Lokier
Anthony Liguori wrote: > >-write(posix_aio_state->wfd,&byte, sizeof(byte)); > >+ret = write(posix_aio_state->wfd,&byte, sizeof(byte)); > >+if (ret< 0&& errno != EAGAIN) > >+die("write()"); > > } > > > >if write() fails in a pipe in the signal handler, I am

[Qemu-devel] Re: [PATCH 01/14] Introduce qemu_write_full()

2010-01-19 Thread Anthony Liguori
On 01/19/2010 06:04 PM, Juan Quintela wrote: Anthony Liguori wrote: On 01/19/2010 06:17 AM, Kirill A. Shutemov wrote: On Tue, Jan 19, 2010 at 2:11 PM, Juan Quintela wrote: "Kirill A. Shutemov" wrote: A variant of write(2) which handles partial write. Signed

[Qemu-devel] Re: [PATCH 01/14] Introduce qemu_write_full()

2010-01-19 Thread Juan Quintela
Anthony Liguori wrote: > On 01/19/2010 06:17 AM, Kirill A. Shutemov wrote: >> On Tue, Jan 19, 2010 at 2:11 PM, Juan Quintela wrote: >> >>> "Kirill A. Shutemov" wrote: >>> A variant of write(2) which handles partial write. Signed-off-by: Kirill A. Shutemov >>

Re: [Qemu-devel] Re: [PATCH 01/14] Introduce qemu_write_full()

2010-01-19 Thread Anthony Liguori
On 01/19/2010 06:17 AM, Kirill A. Shutemov wrote: On Tue, Jan 19, 2010 at 2:11 PM, Juan Quintela wrote: "Kirill A. Shutemov" wrote: A variant of write(2) which handles partial write. Signed-off-by: Kirill A. Shutemov Hi Have you updated this series? Is there any reason t

Re: [Qemu-devel] Re: [PATCH 01/14] Introduce qemu_write_full()

2010-01-19 Thread Blue Swirl
On Tue, Jan 19, 2010 at 12:17 PM, Kirill A. Shutemov wrote: > On Tue, Jan 19, 2010 at 2:11 PM, Juan Quintela wrote: >> "Kirill A. Shutemov" wrote: >>> A variant of write(2) which handles partial write. >>> >>> Signed-off-by: Kirill A. Shutemov >> >> Hi >> >> Have you updated this series?  Is th

[Qemu-devel] Re: [PATCH 01/14] Introduce qemu_write_full()

2010-01-19 Thread Kirill A. Shutemov
On Tue, Jan 19, 2010 at 2:11 PM, Juan Quintela wrote: > "Kirill A. Shutemov" wrote: >> A variant of write(2) which handles partial write. >> >> Signed-off-by: Kirill A. Shutemov > > Hi > > Have you updated this series?  Is there any reason that you know when > they haven't been picked? I don't

[Qemu-devel] Re: [PATCH 01/14] Introduce qemu_write_full()

2010-01-19 Thread Juan Quintela
"Kirill A. Shutemov" wrote: > A variant of write(2) which handles partial write. > > Signed-off-by: Kirill A. Shutemov Hi Have you updated this series? Is there any reason that you know when they haven't been picked? I am also interested in getting _FORTIFY_SOURCE=2 wo compile cleanly. Thank

[Qemu-devel] Re: [PATCH 01/14] Introduce qemu_write_full()

2009-12-30 Thread Paolo Bonzini
On 12/31/2009 02:33 AM, Kirill A. Shutemov wrote: diff --git a/qemu-common.h b/qemu-common.h index 8630f8c..a8144cb 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -160,6 +160,7 @@ void qemu_mutex_lock_iothread(void); void qemu_mutex_unlock_iothread(void); int qemu_open(const char *name, i