summaryrefslogtreecommitdiff
path: root/docs/writing-qmp-commands.txt
diff options
context:
space:
mode:
authorChen Hanxiao <chenhanxiao@cn.fujitsu.com>2015-05-26 05:25:41 -0400
committerMichael Tokarev <mjt@tls.msk.ru>2015-06-03 14:21:23 +0300
commit5708b2b736ebec6e3af04b9b249faadf896791cd (patch)
treed154277fa2f713dc0ae6c5db648138b4341fd740 /docs/writing-qmp-commands.txt
parentb8981dc9aae25fa79e5f35609e63f50f078a572d (diff)
downloadqemu-5708b2b736ebec6e3af04b9b249faadf896791cd.tar.gz
qemu-5708b2b736ebec6e3af04b9b249faadf896791cd.tar.bz2
qemu-5708b2b736ebec6e3af04b9b249faadf896791cd.zip
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>
Diffstat (limited to 'docs/writing-qmp-commands.txt')
-rw-r--r--docs/writing-qmp-commands.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/writing-qmp-commands.txt b/docs/writing-qmp-commands.txt
index f3df2066a4..ab1fdd36b4 100644
--- a/docs/writing-qmp-commands.txt
+++ b/docs/writing-qmp-commands.txt
@@ -598,7 +598,7 @@ stored in its "value" member. In our example, the "value" member is a pointer
to an TimerAlarmMethod instance.
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
by hand and we return the head of the list.