aboutsummaryrefslogtreecommitdiffstats
path: root/android/hw-qemud.c
diff options
context:
space:
mode:
authorVladimir Chtchetkine <vchtchetkine@google.com>2011-08-08 12:58:58 -0700
committerAndroid Code Review <code-review@android.com>2011-08-08 12:58:58 -0700
commit3fe03a7e7337d1be3a71ca1cb6018666490c7111 (patch)
treeee57a024626cde31054e1a62501768ea98be46ec /android/hw-qemud.c
parente6655f012e29a3bf9efe245b4c449f31f49d09ee (diff)
parent7ffddd66de46c27c4e24d9af9b47fc0b9a8da8d1 (diff)
downloadexternal_qemu-3fe03a7e7337d1be3a71ca1cb6018666490c7111.zip
external_qemu-3fe03a7e7337d1be3a71ca1cb6018666490c7111.tar.gz
external_qemu-3fe03a7e7337d1be3a71ca1cb6018666490c7111.tar.bz2
Merge "Fic minor bug, and update docs."
Diffstat (limited to 'android/hw-qemud.c')
-rw-r--r--android/hw-qemud.c6
1 files changed, 2 insertions, 4 deletions
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;