summary refs log tree commit diff stats
path: root/scripts/qapi-commands.py
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2011-11-10 10:41:40 -0200
committerAnthony Liguori <aliguori@us.ibm.com>2011-12-12 11:47:19 -0600
commit90d8454ed0ffdec3871053b696e4a44f349e561c (patch)
tree4ade66ed7ba98fd1c047f9ed8e94c0b9034ed298 /scripts/qapi-commands.py
parentc29110d515babdff1f777189a84993b77722cd8f (diff)
downloadfocaccia-qemu-90d8454ed0ffdec3871053b696e4a44f349e561c.tar.gz
focaccia-qemu-90d8454ed0ffdec3871053b696e4a44f349e561c.zip
QEMUFileCloseFunc: add return value documentation (v2)
qemu_fclose() and QEMUFile->close will return -errno on error, and any
positive value on success.

We need the positive non-zero success values because
migration-exec.c:exec_close() relies on non-zero return values to get
the process exit code.

Changes v1 -> v2:
 - Cosmetic spelling change on comment text

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions