From 7ffddd66de46c27c4e24d9af9b47fc0b9a8da8d1 Mon Sep 17 00:00:00 2001 From: Vladimir Chtchetkine Date: Fri, 5 Aug 2011 10:15:04 -0700 Subject: Fic minor bug, and update docs. Change-Id: Ifdc2b019c499d995c8dc493dd4684dd21d0cf995 --- android/hw-qemud.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'android/hw-qemud.c') diff --git a/android/hw-qemud.c b/android/hw-qemud.c index 16deae8..9bfeaff 100644 --- a/android/hw-qemud.c +++ b/android/hw-qemud.c @@ -21,8 +21,7 @@ #include "charpipe.h" #include "cbuffer.h" -//#define D(...) VERBOSE_PRINT(qemud,__VA_ARGS__) -#define D(...) printf(__VA_ARGS__), printf("\n") +#define D(...) VERBOSE_PRINT(qemud,__VA_ARGS__) #define D_ACTIVE VERBOSE_CHECK(qemud) /* the T(...) macro is used to dump traffic */ @@ -940,7 +939,6 @@ qemud_client_load(QEMUFile* f, QemudService* current_services ) } /* re-connect client */ - // TODO: Save / load is_pipe here! QemudClient* c = qemud_service_connect_client(sv, channel); if(c == NULL) return -EIO; @@ -1946,7 +1944,7 @@ _qemudPipe_poll(void* opaque) QemudClient* client = pipe->client; unsigned ret = PIPE_WAKE_WRITE; if (client->ProtocolSelector.Pipe.messages != NULL) { - ret |= PIPE_WAKE_WRITE; + ret |= PIPE_WAKE_READ; } return ret; -- cgit v1.1