vscclient: use glib thread primitives not qemu
commit2a0c46da967e5dc8cfe73b1b6fe7a1600c04f461
authorMichael Tokarev <mjt@tls.msk.ru>
Thu, 8 May 2014 08:30:47 +0000 (8 12:30 +0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 10 Jun 2014 05:44:01 +0000 (10 07:44 +0200)
treed59ff9076bbc28297e4ec235e1d777827f680d2c
parent86946a2d835614050b90bc8e5c82982fe45deff2
vscclient: use glib thread primitives not qemu

Use glib-provided thread primitives in vscclient instead of
qemu ones, and do not use qemu sockets in there (open-code
call to WSAStartup() for windows to initialize things).

This way, vscclient becomes more stand-alone, independent on
qemu internals.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Alon Levy <alevy@redhat.com>
Tested-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
libcacard/vscclient.c