summaryrefslogtreecommitdiffstats
path: root/trace-events
diff options
context:
space:
mode:
authorDaniel P. Berrange2015-08-27 17:25:30 +0200
committerDaniel P. Berrange2015-12-18 13:18:31 +0100
commit195e14d0262c5676cb9ff4b253e4b2b15c19d3f0 (patch)
tree5f75e92f0f06e28e516b7fbcb213cb0d453094df /trace-events
parentio: add QIOChannelWebsock class (diff)
downloadqemu-195e14d0262c5676cb9ff4b253e4b2b15c19d3f0.tar.gz
qemu-195e14d0262c5676cb9ff4b253e4b2b15c19d3f0.tar.xz
qemu-195e14d0262c5676cb9ff4b253e4b2b15c19d3f0.zip
io: add QIOChannelCommand class
Add a QIOChannel subclass that is capable of performing I/O to/from a separate process, via a pair of pipes. The command can be used for unidirectional or bi-directional I/O. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'trace-events')
-rw-r--r--trace-events6
1 files changed, 6 insertions, 0 deletions
diff --git a/trace-events b/trace-events
index ae6ad22f38..6f036384a8 100644
--- a/trace-events
+++ b/trace-events
@@ -1858,3 +1858,9 @@ qio_channel_websock_handshake_pending(void *ioc, int status) "Websock handshake
qio_channel_websock_handshake_reply(void *ioc) "Websock handshake reply ioc=%p"
qio_channel_websock_handshake_fail(void *ioc) "Websock handshake fail ioc=%p"
qio_channel_websock_handshake_complete(void *ioc) "Websock handshake complete ioc=%p"
+
+# io/channel-command.c
+qio_channel_command_new_pid(void *ioc, int writefd, int readfd, int pid) "Command new pid ioc=%p writefd=%d readfd=%d pid=%d"
+qio_channel_command_new_spawn(void *ioc, const char *binary, int flags) "Command new spawn ioc=%p binary=%s flags=%d"
+qio_channel_command_abort(void *ioc, int pid) "Command abort ioc=%p pid=%d"
+qio_channel_command_wait(void *ioc, int pid, int ret, int status) "Command abort ioc=%p pid=%d ret=%d status=%d"