summaryrefslogtreecommitdiff
path: root/qga/guest-agent-core.h
diff options
context:
space:
mode:
authorMichael Roth <mdroth@linux.vnet.ibm.com>2012-01-19 00:18:20 -0600
committerMichael Roth <mdroth@linux.vnet.ibm.com>2012-02-23 15:40:16 -0600
commit125b310e1d62e3a1dc1e7758563e598957ca7ae4 (patch)
treeaca43fc6a3a4b83456a9875c2b5267933f7b42b6 /qga/guest-agent-core.h
parent54383726dd6e751288b026845ad00c034404098a (diff)
downloadqemu-125b310e1d62e3a1dc1e7758563e598957ca7ae4.tar.gz
qemu-ga: move channel/transport functionality into wrapper class
This is mostly in preparation for the win32 port, which won't use GIO channels for reasons that will be made clearer later. Here the GAChannel class is just a loose wrapper around GIOChannel calls/callbacks, but we also roll in the logic/configuration for various channel types and managing unix socket connections, which makes the abstraction much more complete and further aids in the win32 port since isa-serial/unix-listen will not be supported initially. There's also a bit of refactoring in the main logic to consolidate the exit paths so we can do common cleanup for things like pid files, which weren't always cleaned up previously.
Diffstat (limited to 'qga/guest-agent-core.h')
-rw-r--r--qga/guest-agent-core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qga/guest-agent-core.h b/qga/guest-agent-core.h
index e42b91d364..6148d104d9 100644
--- a/qga/guest-agent-core.h
+++ b/qga/guest-agent-core.h
@@ -14,7 +14,7 @@
#include "qemu-common.h"
#define QGA_VERSION "1.0"
-#define QGA_READ_COUNT_DEFAULT 4 << 10
+#define QGA_READ_COUNT_DEFAULT 4096
typedef struct GAState GAState;
typedef struct GACommandState GACommandState;