summaryrefslogtreecommitdiffstats
path: root/qemu/qga/channel.h
diff options
context:
space:
mode:
authorRajithaY <rajithax.yerrumsetty@intel.com>2017-04-25 03:31:15 -0700
committerRajitha Yerrumchetty <rajithax.yerrumsetty@intel.com>2017-05-22 06:48:08 +0000
commitbb756eebdac6fd24e8919e2c43f7d2c8c4091f59 (patch)
treeca11e03542edf2d8f631efeca5e1626d211107e3 /qemu/qga/channel.h
parenta14b48d18a9ed03ec191cf16b162206998a895ce (diff)
Adding qemu as a submodule of KVMFORNFV
This Patch includes the changes to add qemu as a submodule to kvmfornfv repo and make use of the updated latest qemu for the execution of all testcase Change-Id: I1280af507a857675c7f81d30c95255635667bdd7 Signed-off-by:RajithaY<rajithax.yerrumsetty@intel.com>
Diffstat (limited to 'qemu/qga/channel.h')
-rw-r--r--qemu/qga/channel.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/qemu/qga/channel.h b/qemu/qga/channel.h
deleted file mode 100644
index 3704ea9c8..000000000
--- a/qemu/qga/channel.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * QEMU Guest Agent channel declarations
- *
- * Copyright IBM Corp. 2012
- *
- * Authors:
- * Michael Roth <mdroth@linux.vnet.ibm.com>
- *
- * This work is licensed under the terms of the GNU GPL, version 2 or later.
- * See the COPYING file in the top-level directory.
- */
-#ifndef QGA_CHANNEL_H
-#define QGA_CHANNEL_H
-
-#include <glib.h>
-
-typedef struct GAChannel GAChannel;
-
-typedef enum {
- GA_CHANNEL_VIRTIO_SERIAL,
- GA_CHANNEL_ISA_SERIAL,
- GA_CHANNEL_UNIX_LISTEN,
-} GAChannelMethod;
-
-typedef gboolean (*GAChannelCallback)(GIOCondition condition, gpointer opaque);
-
-GAChannel *ga_channel_new(GAChannelMethod method, const gchar *path,
- 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);
-
-#endif