summaryrefslogtreecommitdiff
path: root/qga/channel.h
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2017-03-07 07:32:28 +0000
committerPeter Maydell <peter.maydell@linaro.org>2017-03-07 07:32:28 +0000
commit7dc3bc7a043a0492d5a7ff9a88322ba733830337 (patch)
treed597190411bf276d0127fdb1c64ba4d4241f87a9 /qga/channel.h
parenteba44e9339fc13c36e24c8c59e2b73ea231b46a1 (diff)
parentec72c0e271f2b13953079a4f4dadb49ac5910b54 (diff)
downloadqemu-7dc3bc7a043a0492d5a7ff9a88322ba733830337.tar.gz
Merge remote-tracking branch 'remotes/mdroth/tags/qga-pull-2017-03-06-tag' into staging
qemu-ga patch queue for 2.9 * fix fsfreeze for filesystems mounted in multiple locations * fix test failure when running in a chroot * support for socket-based activation # gpg: Signature made Mon 06 Mar 2017 07:54:17 GMT # gpg: using RSA key 0x3353C9CEF108B584 # gpg: Good signature from "Michael Roth <flukshun@gmail.com>" # gpg: aka "Michael Roth <mdroth@utexas.edu>" # gpg: aka "Michael Roth <mdroth@linux.vnet.ibm.com>" # Primary key fingerprint: CEAC C9E1 5534 EBAB B82D 3FA0 3353 C9CE F108 B584 * remotes/mdroth/tags/qga-pull-2017-03-06-tag: tests: check path to avoid a failing qga/get-vcpus test qga: ignore EBUSY when freezing a filesystem qga: add systemd socket activation support Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'qga/channel.h')
-rw-r--r--qga/channel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qga/channel.h b/qga/channel.h
index 8fd0c8f72c..1778416115 100644
--- a/qga/channel.h
+++ b/qga/channel.h
@@ -25,7 +25,8 @@ typedef enum {
typedef gboolean (*GAChannelCallback)(GIOCondition condition, gpointer opaque);
GAChannel *ga_channel_new(GAChannelMethod method, const gchar *path,
- GAChannelCallback cb, gpointer opaque);
+ int listen_fd, GAChannelCallback cb,
+ gpointer opaque);
void ga_channel_free(GAChannel *c);
GIOStatus ga_channel_read(GAChannel *c, gchar *buf, gsize size, gsize *count);
GIOStatus ga_channel_write_all(GAChannel *c, const gchar *buf, gsize size);