summaryrefslogtreecommitdiffstats
path: root/trace-events
diff options
context:
space:
mode:
authorDaniel P. Berrange2016-04-27 12:05:06 +0200
committerAmit Shah2016-05-26 08:01:47 +0200
commit527792fae60486c912146a14f601b830d160fe36 (patch)
tree31a39a54866b0a80cff6547a41d819cf101be50c /trace-events
parentmigration: convert fd socket protocol to use QIOChannel (diff)
downloadqemu-527792fae60486c912146a14f601b830d160fe36.tar.gz
qemu-527792fae60486c912146a14f601b830d160fe36.tar.xz
qemu-527792fae60486c912146a14f601b830d160fe36.zip
migration: convert exec socket protocol to use QIOChannel
Convert the exec socket migration protocol driver to use QIOChannel and QEMUFileChannel, instead of the stdio popen APIs. It can be unconditionally built because the QIOChannelCommand class can report suitable error messages on platforms which can't fork processes. Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Daniel P. Berrange <berrange@redhat.com> Message-Id: <1461751518-12128-17-git-send-email-berrange@redhat.com> Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'trace-events')
-rw-r--r--trace-events4
1 files changed, 4 insertions, 0 deletions
diff --git a/trace-events b/trace-events
index e9945e7964..1584b0afd1 100644
--- a/trace-events
+++ b/trace-events
@@ -1595,6 +1595,10 @@ postcopy_ram_incoming_cleanup_entry(void) ""
postcopy_ram_incoming_cleanup_exit(void) ""
postcopy_ram_incoming_cleanup_join(void) ""
+# migration/exec.c
+migration_exec_outgoing(const char *cmd) "cmd=%s"
+migration_exec_incoming(const char *cmd) "cmd=%s"
+
# migration/fd.c
migration_fd_outgoing(int fd) "fd=%d"
migration_fd_incoming(int fd) "fd=%d"