aboutsummaryrefslogtreecommitdiff
path: root/trace-events
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dgilbert@redhat.com>2015-11-05 18:10:47 +0000
committerJuan Quintela <quintela@redhat.com>2015-11-10 15:00:26 +0100
commit6decec931149ae50d84e2b264bf93f3676d5b3f9 (patch)
treee45444b2266f5d9addd5fbc92a092520ee405ade /trace-events
parent2e37701efdba7bb89f7159eff055bb71dbb9f02f (diff)
downloadqemu-6decec931149ae50d84e2b264bf93f3676d5b3f9.zip
qemu-6decec931149ae50d84e2b264bf93f3676d5b3f9.tar.gz
qemu-6decec931149ae50d84e2b264bf93f3676d5b3f9.tar.bz2
Return path: Send responses from destination to source
Add migrate_send_rp_message to send a message from destination to source along the return path. (It uses a mutex to let it be called from multiple threads) Add migrate_send_rp_shut to send a 'shut' message to indicate the destination is finished with the RP. Add migrate_send_rp_ack to send a 'PONG' message in response to a PING Use it in the MSG_RP_PING handler Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Amit Shah <amit.shah@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'trace-events')
-rw-r--r--trace-events1
1 files changed, 1 insertions, 0 deletions
diff --git a/trace-events b/trace-events
index 500f1e3..ca5909b 100644
--- a/trace-events
+++ b/trace-events
@@ -1431,6 +1431,7 @@ migrate_fd_cleanup(void) ""
migrate_fd_error(void) ""
migrate_fd_cancel(void) ""
migrate_pending(uint64_t size, uint64_t max) "pending size %" PRIu64 " max %" PRIu64
+migrate_send_rp_message(int msg_type, uint16_t len) "%d: len %d"
migrate_transferred(uint64_t tranferred, uint64_t time_spent, double bandwidth, uint64_t size) "transferred %" PRIu64 " time_spent %" PRIu64 " bandwidth %g max_size %" PRId64
migrate_state_too_big(void) ""
migrate_global_state_post_load(const char *state) "loaded state: %s"