summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2011-10-05 01:02:52 +0200
committerJuan Quintela <quintela@redhat.com>2011-10-20 13:23:52 +0200
commit624b9cc20922fe7b046cd79c839d1f3a5a5fc27e (patch)
treeee5789c0a6966b697caf48b463f95602ecbc94ea /hw
parent3934638539c763ad23026b70483e60be34078c57 (diff)
downloadqemu-624b9cc20922fe7b046cd79c839d1f3a5a5fc27e.tar.gz
qemu-624b9cc20922fe7b046cd79c839d1f3a5a5fc27e.tar.bz2
qemu-624b9cc20922fe7b046cd79c839d1f3a5a5fc27e.zip
migration: rename qemu_file_has_error to qemu_file_get_error
Now the function returned errno, so it is better the new name. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/hw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/hw.h b/hw/hw.h
index 6cf8cd2056..ed20f5a27a 100644
--- a/hw/hw.h
+++ b/hw/hw.h
@@ -85,7 +85,7 @@ uint64_t qemu_get_be64(QEMUFile *f);
int qemu_file_rate_limit(QEMUFile *f);
int64_t qemu_file_set_rate_limit(QEMUFile *f, int64_t new_rate);
int64_t qemu_file_get_rate_limit(QEMUFile *f);
-int qemu_file_has_error(QEMUFile *f);
+int qemu_file_get_error(QEMUFile *f);
void qemu_file_set_error(QEMUFile *f, int error);
/* Try to send any outstanding data. This function is useful when output is