mirror of
https://github.com/qemu/qemu.git
synced 2024-11-27 13:53:45 +08:00
io: initialize sockets in test program
The win32 sockets layer requires that socket_init() is called otherwise nothing will work. Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
0a27af918b
commit
5838d66e73
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user