Commit 675fd0a7 authored by Lei Li's avatar Lei Li Committed by Juan Quintela
Browse files

savevm: add comments for qemu_file_get_error()

Add comments for qemu_file_get_error(), as its return value
is not very clear.
Signed-off-by: default avatarLei Li <>
Signed-off-by: default avatarJuan Quintela <>
parent f828a4c8
......@@ -566,6 +566,13 @@ QEMUFile *qemu_fopen_ops(void *opaque, const QEMUFileOps *ops)
return f;
* Get last error for stream f
* Return negative error value if there has been an error on previous
* operations, return 0 if no error happened.
int qemu_file_get_error(QEMUFile *f)
return f->last_error;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment