aboutsummaryrefslogtreecommitdiffstats
path: root/hw/goldfish_pipe.h
diff options
context:
space:
mode:
authorVladimir Chtchetkine <vchtchetkine@google.com>2011-08-25 08:06:26 -0700
committerVladimir Chtchetkine <vchtchetkine@google.com>2011-08-25 08:06:26 -0700
commitfd16505ce923202f0abe74bfe7c3ba110d325ebe (patch)
treee7db685afc43702513f520c689e267987321d24e /hw/goldfish_pipe.h
parent6c13702fee11a40c72e71432c5438fc65602bd5d (diff)
downloadexternal_qemu-fd16505ce923202f0abe74bfe7c3ba110d325ebe.zip
external_qemu-fd16505ce923202f0abe74bfe7c3ba110d325ebe.tar.gz
external_qemu-fd16505ce923202f0abe74bfe7c3ba110d325ebe.tar.bz2
Fix qemu pipe's 'poll' callbacks
Throughout emulator's code pipe's 'poll' callback was returning PIPE_WAKE_XXX, instead of PIPE_POLL_XXX flags. This created whole sort of issues with the qemu pipe service <-> client communications. This is also a fix for http://b/issue?id=5196348 Change-Id: I92202cf4ef4554559eb022c4410ee93923edec1b
Diffstat (limited to 'hw/goldfish_pipe.h')
-rw-r--r--hw/goldfish_pipe.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/goldfish_pipe.h b/hw/goldfish_pipe.h
index be5c449..8074619 100644
--- a/hw/goldfish_pipe.h
+++ b/hw/goldfish_pipe.h
@@ -85,7 +85,7 @@ typedef struct {
int (*recvBuffers)( void* pipe, GoldfishPipeBuffer* buffers, int numBuffers );
/* Called when guest wants to poll the read/write status for the pipe.
- * Should return a combination of PIPE_WAKE_XXX flags.
+ * Should return a combination of PIPE_POLL_XXX flags.
*/
unsigned (*poll)( void* pipe );