Received: from eggs.gnu.org ([208.118.235.92]:36759) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTcLa-0007Ca-0i for qemu-devel@nongnu.org; Wed, 31 Oct 2012 13:44:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TTcLU-0005qz-Bf for qemu-devel@nongnu.org; Wed, 31 Oct 2012 13:44:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:19086) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTcLU-0005oV-34 for qemu-devel@nongnu.org; Wed, 31 Oct 2012 13:44:52 -0400 From: Luiz Capitulino Date: Wed, 31 Oct 2012 15:45:18 -0200 Message-Id: <1351705520-24589-4-git-send-email-lcapitulino@redhat.com> In-Reply-To: <1351705520-24589-1-git-send-email-lcapitulino@redhat.com> References: <1351705520-24589-1-git-send-email-lcapitulino@redhat.com> Subject: [Qemu-devel] [PATCH 3/5] qemu-ga: win32: GAChannel: store GAChannelMethod being used List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: mdroth@linux.vnet.ibm.com Next commit wants this. Signed-off-by: Luiz Capitulino --- qga/channel-win32.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qga/channel-win32.c b/qga/channel-win32.c index c0e19a8..8e259c3 100644 --- a/qga/channel-win32.c +++ b/qga/channel-win32.c @@ -25,6 +25,7 @@ struct GAChannel { GAChannelReadState rstate; GIOCondition pending_events; /* TODO: use GAWatch.pollfd.revents */ GSource *source; + GAChannelMethod method; }; typedef struct GAWatch { @@ -317,6 +318,7 @@ GAChannel *ga_channel_new(GAChannelMethod method, const gchar *path, c->cb = cb; c->user_data = opaque; + c->method = method; sec_attrs.nLength = sizeof(SECURITY_ATTRIBUTES); sec_attrs.lpSecurityDescriptor = NULL; -- 1.7.12.315.g682ce8b