qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v1 03/21] io: initialize sockets in test program


From: Daniel P. Berrange
Subject: [Qemu-devel] [PATCH v1 03/21] io: initialize sockets in test program
Date: Wed, 9 Mar 2016 17:28:06 +0000

The win32 sockets layer requires that socket_init() is called
otherwise nothing will work.

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]