qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Luiz Capitulino <lcapitulino@redhat.com>
To: qemu-devel@nongnu.org
Cc: mdroth@linux.vnet.ibm.com
Subject: [Qemu-devel] [PATCH 3/5] qemu-ga: win32: GAChannel: store GAChannelMethod being used
Date: Wed, 31 Oct 2012 15:45:18 -0200	[thread overview]
Message-ID: <1351705520-24589-4-git-send-email-lcapitulino@redhat.com> (raw)
In-Reply-To: <1351705520-24589-1-git-send-email-lcapitulino@redhat.com>

Next commit wants this.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
---
 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

  parent reply	other threads:[~2012-10-31 17:44 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-31 17:45 [Qemu-devel] [PATCH 0/5] qemu-ga: add isa-serial support to win32 Luiz Capitulino
2012-10-31 17:45 ` [Qemu-devel] [PATCH 1/5] configure: link qemu-ga.exe in default make target Luiz Capitulino
2012-11-01 15:47   ` Michael Roth
2012-10-31 17:45 ` [Qemu-devel] [PATCH 2/5] qemu-ga: win32: add _ov suffix to current GSource functions Luiz Capitulino
2012-11-01 15:47   ` Michael Roth
2012-10-31 17:45 ` Luiz Capitulino [this message]
2012-10-31 17:45 ` [Qemu-devel] [PATCH 4/5] qemu-ga: win32: isolate virtio-serial specific code Luiz Capitulino
2012-11-01 16:22   ` Michael Roth
2012-11-01 16:33     ` Luiz Capitulino
2012-11-01 19:15       ` Michael Roth
2012-10-31 17:45 ` [Qemu-devel] [PATCH 5/5] qemu-ga: win32: add isa-serial support Luiz Capitulino
2012-11-01 16:31   ` Michael Roth
2012-11-01 16:55     ` Luiz Capitulino
2012-11-01 19:13       ` Michael Roth
2012-11-01 19:33         ` Luiz Capitulino

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1351705520-24589-4-git-send-email-lcapitulino@redhat.com \
    --to=lcapitulino@redhat.com \
    --cc=mdroth@linux.vnet.ibm.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).