sockets: add unix_*_opts for windows.
Add unix_*_opts function dummys for windows. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
62b6adfbe0
commit
108af7b957
@ -453,6 +453,18 @@ int unix_connect(const char *path)
|
|||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
int unix_listen_opts(QemuOpts *opts)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "unix sockets are not available on windows\n");
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
int unix_connect_opts(QemuOpts *opts)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "unix sockets are not available on windows\n");
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
int unix_listen(const char *path, char *ostr, int olen)
|
int unix_listen(const char *path, char *ostr, int olen)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "unix sockets are not available on windows\n");
|
fprintf(stderr, "unix sockets are not available on windows\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user