From patchwork Thu Sep 10 08:58:39 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerd Hoffmann X-Patchwork-Id: 33290 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by bilbo.ozlabs.org (Postfix) with ESMTPS id D3726B7067 for ; Thu, 10 Sep 2009 19:47:28 +1000 (EST) Received: from localhost ([127.0.0.1]:47870 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MlgFR-0000pe-HC for incoming@patchwork.ozlabs.org; Thu, 10 Sep 2009 05:47:25 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MlfUy-0005Ys-4p for qemu-devel@nongnu.org; Thu, 10 Sep 2009 04:59:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MlfUr-0005Tl-Pn for qemu-devel@nongnu.org; Thu, 10 Sep 2009 04:59:22 -0400 Received: from [199.232.76.173] (port=49335 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MlfUr-0005TR-BX for qemu-devel@nongnu.org; Thu, 10 Sep 2009 04:59:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50556) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MlfUq-0007WE-I0 for qemu-devel@nongnu.org; Thu, 10 Sep 2009 04:59:17 -0400 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n8A8x64V019909 for ; Thu, 10 Sep 2009 04:59:06 -0400 Received: from zweiblum.home.kraxel.org (vpn2-9-74.ams2.redhat.com [10.36.9.74]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id n8A8x39V017255; Thu, 10 Sep 2009 04:59:04 -0400 Received: by zweiblum.home.kraxel.org (Postfix, from userid 500) id 83443700E7; Thu, 10 Sep 2009 10:58:56 +0200 (CEST) From: Gerd Hoffmann To: qemu-devel@nongnu.org Date: Thu, 10 Sep 2009 10:58:39 +0200 Message-Id: <1252573135-27688-8-git-send-email-kraxel@redhat.com> In-Reply-To: <1252573135-27688-1-git-send-email-kraxel@redhat.com> References: <1252573135-27688-1-git-send-email-kraxel@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: Gerd Hoffmann Subject: [Qemu-devel] [PATCH v2 07/23] sockets: add unix_*_opts for windows. X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Add unix_*_opts function dummys for windows. Signed-off-by: Gerd Hoffmann --- 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");