qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 07/23] sockets: add unix_*_opts for windows.


From: Gerd Hoffmann
Subject: [Qemu-devel] [PATCH 07/23] sockets: add unix_*_opts for windows.
Date: Mon, 7 Sep 2009 18:06:09 +0200

Add unix_*_opts function dummys for windows.

Signed-off-by: Gerd Hoffmann <address@hidden>
---
 qemu-sockets.c |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/qemu-sockets.c b/qemu-sockets.c
index 6e212fe..0d0ce44 100644
--- a/qemu-sockets.c
+++ b/qemu-sockets.c
@@ -453,6 +453,18 @@ int unix_connect(const char *path)
 
 #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)
 {
     fprintf(stderr, "unix sockets are not available on windows\n");
-- 
1.6.2.5





reply via email to

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