summaryrefslogtreecommitdiff
path: root/trace-events
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2018-05-03 19:01:14 +0200
committerKevin Wolf <kwolf@redhat.com>2018-05-23 14:30:51 +0200
commit1a90bc8128ee7d16ce4abb131961e37084d75b16 (patch)
treecce03d41627411ada602183ddb1fab87cd76a5ff /trace-events
parent1dac83f1a10c4c66858075970e199f4e4a8d8b71 (diff)
downloadqemu-1a90bc8128ee7d16ce4abb131961e37084d75b16.zip
job: Add lifecycle QMP commands
This adds QMP commands that control the transition between states of the job lifecycle. Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'trace-events')
-rw-r--r--trace-events9
1 files changed, 9 insertions, 0 deletions
diff --git a/trace-events b/trace-events
index ef7579a285..c445f54773 100644
--- a/trace-events
+++ b/trace-events
@@ -109,6 +109,15 @@ job_state_transition(void *job, int ret, const char *legal, const char *s0, con
job_apply_verb(void *job, const char *state, const char *verb, const char *legal) "job %p in state %s; applying verb %s (%s)"
job_completed(void *job, int ret, int jret) "job %p ret %d corrected ret %d"
+# job-qmp.c
+qmp_job_cancel(void *job) "job %p"
+qmp_job_pause(void *job) "job %p"
+qmp_job_resume(void *job) "job %p"
+qmp_job_complete(void *job) "job %p"
+qmp_job_finalize(void *job) "job %p"
+qmp_job_dismiss(void *job) "job %p"
+
+
### Guest events, keep at bottom