[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL v1 03/18] io: initialize sockets in test program
From: |
Daniel P. Berrange |
Subject: |
[Qemu-devel] [PULL v1 03/18] io: initialize sockets in test program |
Date: |
Fri, 11 Mar 2016 10:03:53 +0000 |
The win32 sockets layer requires that socket_init() is called
otherwise nothing will work.
Reviewed-by: Paolo Bonzini <address@hidden>
Signed-off-by: Daniel P. Berrange <address@hidden>
---
tests/test-io-channel-socket.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/test-io-channel-socket.c b/tests/test-io-channel-socket.c
index 6098fee..f226e47 100644
--- a/tests/test-io-channel-socket.c
+++ b/tests/test-io-channel-socket.c
@@ -489,6 +489,7 @@ int main(int argc, char **argv)
bool has_ipv4, has_ipv6;
module_call_init(MODULE_INIT_QOM);
+ socket_init();
g_test_init(&argc, &argv, NULL);
--
2.5.0
- [Qemu-devel] [PULL v1 00/18] Merge I/O channel fixes for Win32, Daniel P. Berrange, 2016/03/11
- [Qemu-devel] [PULL v1 05/18] io: wait for incoming client in socket test, Daniel P. Berrange, 2016/03/11
- [Qemu-devel] [PULL v1 02/18] io: use bind() to check for IPv4/6 availability, Daniel P. Berrange, 2016/03/11
- [Qemu-devel] [PULL v1 06/18] io: set correct error object in background reader test thread, Daniel P. Berrange, 2016/03/11
- [Qemu-devel] [PULL v1 07/18] io: assert errors before asserting content in I/O test, Daniel P. Berrange, 2016/03/11
- [Qemu-devel] [PULL v1 01/18] osdep: fix socket_error() to work with Mingw64, Daniel P. Berrange, 2016/03/11
- [Qemu-devel] [PULL v1 04/18] io: bind to socket before creating QIOChannelSocket, Daniel P. Berrange, 2016/03/11
- [Qemu-devel] [PULL v1 03/18] io: initialize sockets in test program,
Daniel P. Berrange <=
- [Qemu-devel] [PULL v1 09/18] io: pass HANDLE to g_source_add_poll on Win32, Daniel P. Berrange, 2016/03/11
- [Qemu-devel] [PULL v1 08/18] io: fix copy+paste mistake in socket error message, Daniel P. Berrange, 2016/03/11
- [Qemu-devel] [PULL v1 10/18] io: introduce qio_channel_create_socket_watch, Daniel P. Berrange, 2016/03/11
- [Qemu-devel] [PULL v1 12/18] io: remove checking of EWOULDBLOCK, Daniel P. Berrange, 2016/03/11
- [Qemu-devel] [PULL v1 11/18] io: use qemu_accept to ensure SOCK_CLOEXEC is set, Daniel P. Berrange, 2016/03/11
- [Qemu-devel] [PULL v1 14/18] char: remove qemu_chr_finish_socket_connection method, Daniel P. Berrange, 2016/03/11
- [Qemu-devel] [PULL v1 13/18] io: implement socket watch for win32 using WSAEventSelect+select, Daniel P. Berrange, 2016/03/11
- [Qemu-devel] [PULL v1 15/18] char: remove socket_try_connect method, Daniel P. Berrange, 2016/03/11
- [Qemu-devel] [PULL v1 16/18] char: remove qemu_chr_open_socket_fd method, Daniel P. Berrange, 2016/03/11
- [Qemu-devel] [PULL v1 17/18] osdep: add wrappers for socket functions, Daniel P. Berrange, 2016/03/11