mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
aio / timers: Switch entire codebase to the new timer API
This is an autogenerated patch using scripts/switch-timer-api. Switch the entire code base to using the new timer API. Note this patch may introduce some line length issues. Signed-off-by: Alex Bligh <alex@alex.org.uk> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
parent
fe10ab540b
commit
bc72ad6754
121 changed files with 678 additions and 678 deletions
|
@ -258,9 +258,9 @@ void qtest_memwrite(QTestState *s, uint64_t addr, const void *data, size_t size)
|
|||
* qtest_clock_step_next:
|
||||
* @s: #QTestState instance to operate on.
|
||||
*
|
||||
* Advance the vm_clock to the next deadline.
|
||||
* Advance the QEMU_CLOCK_VIRTUAL to the next deadline.
|
||||
*
|
||||
* Returns: The current value of the vm_clock in nanoseconds.
|
||||
* Returns: The current value of the QEMU_CLOCK_VIRTUAL in nanoseconds.
|
||||
*/
|
||||
int64_t qtest_clock_step_next(QTestState *s);
|
||||
|
||||
|
@ -269,9 +269,9 @@ int64_t qtest_clock_step_next(QTestState *s);
|
|||
* @s: QTestState instance to operate on.
|
||||
* @step: Number of nanoseconds to advance the clock by.
|
||||
*
|
||||
* Advance the vm_clock by @step nanoseconds.
|
||||
* Advance the QEMU_CLOCK_VIRTUAL by @step nanoseconds.
|
||||
*
|
||||
* Returns: The current value of the vm_clock in nanoseconds.
|
||||
* Returns: The current value of the QEMU_CLOCK_VIRTUAL in nanoseconds.
|
||||
*/
|
||||
int64_t qtest_clock_step(QTestState *s, int64_t step);
|
||||
|
||||
|
@ -280,9 +280,9 @@ int64_t qtest_clock_step(QTestState *s, int64_t step);
|
|||
* @s: QTestState instance to operate on.
|
||||
* @val: Nanoseconds value to advance the clock to.
|
||||
*
|
||||
* Advance the vm_clock to @val nanoseconds since the VM was launched.
|
||||
* Advance the QEMU_CLOCK_VIRTUAL to @val nanoseconds since the VM was launched.
|
||||
*
|
||||
* Returns: The current value of the vm_clock in nanoseconds.
|
||||
* Returns: The current value of the QEMU_CLOCK_VIRTUAL in nanoseconds.
|
||||
*/
|
||||
int64_t qtest_clock_set(QTestState *s, int64_t val);
|
||||
|
||||
|
@ -584,9 +584,9 @@ static inline void memwrite(uint64_t addr, const void *data, size_t size)
|
|||
/**
|
||||
* clock_step_next:
|
||||
*
|
||||
* Advance the vm_clock to the next deadline.
|
||||
* Advance the QEMU_CLOCK_VIRTUAL to the next deadline.
|
||||
*
|
||||
* Returns: The current value of the vm_clock in nanoseconds.
|
||||
* Returns: The current value of the QEMU_CLOCK_VIRTUAL in nanoseconds.
|
||||
*/
|
||||
static inline int64_t clock_step_next(void)
|
||||
{
|
||||
|
@ -597,9 +597,9 @@ static inline int64_t clock_step_next(void)
|
|||
* clock_step:
|
||||
* @step: Number of nanoseconds to advance the clock by.
|
||||
*
|
||||
* Advance the vm_clock by @step nanoseconds.
|
||||
* Advance the QEMU_CLOCK_VIRTUAL by @step nanoseconds.
|
||||
*
|
||||
* Returns: The current value of the vm_clock in nanoseconds.
|
||||
* Returns: The current value of the QEMU_CLOCK_VIRTUAL in nanoseconds.
|
||||
*/
|
||||
static inline int64_t clock_step(int64_t step)
|
||||
{
|
||||
|
@ -610,9 +610,9 @@ static inline int64_t clock_step(int64_t step)
|
|||
* clock_set:
|
||||
* @val: Nanoseconds value to advance the clock to.
|
||||
*
|
||||
* Advance the vm_clock to @val nanoseconds since the VM was launched.
|
||||
* Advance the QEMU_CLOCK_VIRTUAL to @val nanoseconds since the VM was launched.
|
||||
*
|
||||
* Returns: The current value of the vm_clock in nanoseconds.
|
||||
* Returns: The current value of the QEMU_CLOCK_VIRTUAL in nanoseconds.
|
||||
*/
|
||||
static inline int64_t clock_set(int64_t val)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue