]> git.proxmox.com Git - mirror_qemu.git/commit
QEMUFileCloseFunc: add return value documentation (v2)
authorEduardo Habkost <ehabkost@redhat.com>
Thu, 10 Nov 2011 12:41:40 +0000 (10:41 -0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 12 Dec 2011 17:47:19 +0000 (11:47 -0600)
commit90d8454ed0ffdec3871053b696e4a44f349e561c
tree4ade66ed7ba98fd1c047f9ed8e94c0b9034ed298
parentc29110d515babdff1f777189a84993b77722cd8f
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>
hw/hw.h