mirror of
https://github.com/xemu-project/xemu.git
synced 2025-02-12 15:38:21 +00:00
docs/writing-qmp-commands: fix a typo
s/interation/iteration Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
b8981dc9aa
commit
5708b2b736
@ -598,7 +598,7 @@ stored in its "value" member. In our example, the "value" member is a pointer
|
|||||||
to an TimerAlarmMethod instance.
|
to an TimerAlarmMethod instance.
|
||||||
|
|
||||||
Notice that the "current" variable is used as "true" only in the first
|
Notice that the "current" variable is used as "true" only in the first
|
||||||
interation of the loop. That's because the alarm timer method in use is the
|
iteration of the loop. That's because the alarm timer method in use is the
|
||||||
first element of the alarm_timers array. Also notice that QAPI lists are handled
|
first element of the alarm_timers array. Also notice that QAPI lists are handled
|
||||||
by hand and we return the head of the list.
|
by hand and we return the head of the list.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user