[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC] [PATCHv8 23/30] aio / timers: Rearrange timer.h &
From: |
Alex Bligh |
Subject: |
Re: [Qemu-devel] [RFC] [PATCHv8 23/30] aio / timers: Rearrange timer.h & make legacy functions call non-legacy |
Date: |
Fri, 9 Aug 2013 15:18:20 +0100 |
On 9 Aug 2013, at 10:23, Stefan Hajnoczi wrote:
> On Thu, Aug 08, 2013 at 10:42:20PM +0100, Alex Bligh wrote:
>> @@ -269,17 +299,17 @@ bool timerlist_expired(QEMUTimerList *timer_list);
>> int64_t timerlist_deadline_ns(QEMUTimerList *timer_list);
>>
>> /**
>> - * timerlist_getclock:
>> + * timerlist_get_clock:
>> * @timer_list: the timer list to operate on
>> *
>> * Read the clock value associated with a timer list.
>> * The clock value is normally in nanoseconds, but may
>> * not be in some instances (e.g. vm_clock with use_icount).
>
> The documentation is wrong. This function does not get the clock value
> in nanoseconds.
I will fix.
>> +/**
>> + * timer_put:
>> + * @f: the file
>> + * @ts: the timer
>> + */
>> +void timer_put(QEMUFile *f, QEMUTimer *ts);
>
> The struct is still called QEMUTimer, should that also be renamed?
I could do but it might produce another patch too large for the
mailing list. Suggest we leave it as it is for now.
--
Alex Bligh
- [Qemu-devel] [RFC] [PATCHv8 19/30] aio / timers: Add documentation and new format calls, (continued)
- [Qemu-devel] [RFC] [PATCHv8 19/30] aio / timers: Add documentation and new format calls, Alex Bligh, 2013/08/08
- [Qemu-devel] [RFC] [PATCHv8 22/30] aio / timers: Add qemu_clock_get_ms and qemu_clock_get_ms, Alex Bligh, 2013/08/08
- [Qemu-devel] [RFC] [PATCHv8 21/30] aio / timers: Remove legacy qemu_clock_deadline & qemu_timerlist_deadline, Alex Bligh, 2013/08/08
- [Qemu-devel] [RFC] [PATCHv8 24/30] aio / timers: Remove main_loop_timerlist, Alex Bligh, 2013/08/08
- [Qemu-devel] [RFC] [PATCHv8 26/30] aio / timers: convert block_job_sleep_ns and co_sleep_ns to new API, Alex Bligh, 2013/08/08
- [Qemu-devel] [RFC] [PATCHv8 25/30] aio / timers: Convert rtc_clock to be a QEMUClockType, Alex Bligh, 2013/08/08
- [Qemu-devel] [RFC] [PATCHv8 27/30] aio / timers: Add test harness for AioContext timers, Alex Bligh, 2013/08/08
- [Qemu-devel] [RFC] [PATCHv8 23/30] aio / timers: Rearrange timer.h & make legacy functions call non-legacy, Alex Bligh, 2013/08/08
- [Qemu-devel] [RFC] [PATCHv8 28/30] aio / timers: Add scripts/switch-timer-api, Alex Bligh, 2013/08/08
[Qemu-devel] [RFC] [PATCHv8 30/30] aio / timers: Remove legacy interface, Alex Bligh, 2013/08/08
Re: [Qemu-devel] [RFC] [PATCHv8 00/30] aio / timers: Add AioContext timers and use ppoll, Alex Bligh, 2013/08/08
Re: [Qemu-devel] [RFC] [PATCHv8 00/30] aio / timers: Add AioContext timers and use ppoll, Jan Kiszka, 2013/08/09