blockjob: remove clock argument from block_job_sleep_ns
All callers are using QEMU_CLOCK_REALTIME, and it will not be possible to support more than one clock when block_job_sleep_ns switches to a single timer stored in the BlockJob struct. Signed-off-by:Paolo Bonzini <pbonzini@redhat.com> Reviewed-by:
Alberto Garcia <berto@igalia.com> Tested-By:
Jeff Cody <jcody@redhat.com> Reviewed-by:
Fam Zheng <famz@redhat.com> Reviewed-by:
Jeff Cody <jcody@redhat.com> Reviewed-by:
Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by:
Kevin Wolf <kwolf@redhat.com>
Showing
- block/backup.c 2 additions, 2 deletionsblock/backup.c
- block/commit.c 1 addition, 1 deletionblock/commit.c
- block/mirror.c 3 additions, 3 deletionsblock/mirror.c
- block/stream.c 1 addition, 1 deletionblock/stream.c
- blockjob.c 3 additions, 2 deletionsblockjob.c
- include/block/blockjob_int.h 3 additions, 4 deletionsinclude/block/blockjob_int.h
- tests/test-blockjob-txn.c 1 addition, 1 deletiontests/test-blockjob-txn.c
Please register or sign in to comment