]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/block/blockjob.h
aio / timers: convert block_job_sleep_ns and co_sleep_ns to new API
[mirror_qemu.git] / include / block / blockjob.h
index c290d07bba008c494b9987a4e872385f1932439a..d530409ff5b848f22ccaed6d944043d23505d6d8 100644 (file)
@@ -141,7 +141,7 @@ void *block_job_create(const BlockJobType *job_type, BlockDriverState *bs,
  * Put the job to sleep (assuming that it wasn't canceled) for @ns
  * nanoseconds.  Canceling the job will interrupt the wait immediately.
  */
-void block_job_sleep_ns(BlockJob *job, QEMUClock *clock, int64_t ns);
+void block_job_sleep_ns(BlockJob *job, QEMUClockType type, int64_t ns);
 
 /**
  * block_job_completed: