History | View | Annotate | Download (10.1 kB)
win32: add readv/writev emulation
Commit e9d8fbf (qemu-file: do not use stdio for qemu_fdopen, 2013-03-27)introduced a usage of writev, which mingw32 does not have. Even thoughqemu_fdopen itself is not used on mingw32, the future-proof solution isto add an implementation of it. This is simple and similar to how we...
util: move socket_init() to osdep.c
vscclient needs to call socket_init() for portability.Moving to osdep.c since it has no internal dependency.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>Reviewed-by: Alon Levy <alevy@redhat.com>
osdep: replace setsockopt by qemu_setsockopt
Fix the compiler warning when cross build qemu-gafor windows by using qemu_setsockopt() instead ofsetsockopt().
util/osdep.c: In function 'socket_set_nodelay':util/osdep.c:69:5: warning: passing argument 4 of 'setsockopt' from...
move socket_set_nodelay to osdep.c
Signed-off-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
build: move libqemuutil.a components to util/
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>