diff options
author | Kevin Wolf <kwolf@redhat.com> | 2018-05-04 16:25:43 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2018-05-23 14:30:51 +0200 |
commit | 456273b02474780537e2bb52a72213f63bb5227a (patch) | |
tree | 0ab2748bc922e4e6c3471f01c6277dc703d0da97 /include | |
parent | 1a90bc8128ee7d16ce4abb131961e37084d75b16 (diff) | |
download | qemu-456273b02474780537e2bb52a72213f63bb5227a.zip qemu-456273b02474780537e2bb52a72213f63bb5227a.tar.gz qemu-456273b02474780537e2bb52a72213f63bb5227a.tar.bz2 |
job: Add query-jobs QMP command
This adds a minimal query-jobs implementation that shouldn't pose many
design questions. It can later be extended to expose more information,
and especially job-specific information.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/qemu/job.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/qemu/job.h b/include/qemu/job.h index 92d1d24..8c8badf 100644 --- a/include/qemu/job.h +++ b/include/qemu/job.h @@ -392,6 +392,9 @@ JobType job_type(const Job *job); /** Returns the enum string for the JobType of a given Job. */ const char *job_type_str(const Job *job); +/** Returns true if the job should not be visible to the management layer. */ +bool job_is_internal(Job *job); + /** Returns whether the job is scheduled for cancellation. */ bool job_is_cancelled(Job *job); |