summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2016-06-16 17:56:23 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2016-06-20 11:44:12 +0100
commita7f3b7ff03a4712b9fc1089cc568eea7296af069 (patch)
tree9edd1cfa1cf47389af7dbeab773ec5eb59f9fcc4 /include
parent17bd51f936ac0719ef7a93fb77e30313b55c83b5 (diff)
downloadqemu-a7f3b7ff03a4712b9fc1089cc568eea7296af069.tar.gz
qemu-a7f3b7ff03a4712b9fc1089cc568eea7296af069.tar.bz2
qemu-a7f3b7ff03a4712b9fc1089cc568eea7296af069.zip
blockjob: rename block_job_is_paused()
The block_job_is_paused() function name is not great because callers only use it to determine whether pausing has been requested. Rename it to highlight those semantics and remove it from the public header file as there are no external callers. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Fam Zheng <famz@redhat.com> Message-id: 1466096189-6477-3-git-send-email-stefanha@redhat.com
Diffstat (limited to 'include')
-rw-r--r--include/block/blockjob.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/block/blockjob.h b/include/block/blockjob.h
index 00ac4184cc..8fcecf9a79 100644
--- a/include/block/blockjob.h
+++ b/include/block/blockjob.h
@@ -348,15 +348,6 @@ void block_job_event_completed(BlockJob *job, const char *msg);
void block_job_event_ready(BlockJob *job);
/**
- * block_job_is_paused:
- * @job: The job being queried.
- *
- * Returns whether the job is currently paused, or will pause
- * as soon as it reaches a sleeping point.
- */
-bool block_job_is_paused(BlockJob *job);
-
-/**
* block_job_cancel_sync:
* @job: The job to be canceled.
*