aboutsummaryrefslogtreecommitdiff
path: root/hw/hw.h
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-05 19:30:51 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-05 19:30:51 +0000
commit4dabe24883ed9e538266a5deee7e2d1f1922208c (patch)
treebcb5eae17f9da14512de39bf702011b8ec16e551 /hw/hw.h
parentb161d123e77ffbd6ee96edcfb8a02541c5e9439b (diff)
downloadqemu-4dabe24883ed9e538266a5deee7e2d1f1922208c.zip
qemu-4dabe24883ed9e538266a5deee7e2d1f1922208c.tar.gz
qemu-4dabe24883ed9e538266a5deee7e2d1f1922208c.tar.bz2
create qemu_file_set_error (Glauber Costa)
This is mainly for consistency, since we don't want anything outside of savevm setting it explicitly. There are current no users of that in qemu tree, but there are potential candidates on kvm-userspace. And avi is a nice guy, let's be nice with him. Based on a patch by Yaniv Kamay Signed-off-by: Glauber Costa <glommer@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6998 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/hw.h')
-rw-r--r--hw/hw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/hw.h b/hw/hw.h
index eab7bb4..e9628d4 100644
--- a/hw/hw.h
+++ b/hw/hw.h
@@ -67,6 +67,7 @@ unsigned int qemu_get_be32(QEMUFile *f);
uint64_t qemu_get_be64(QEMUFile *f);
int qemu_file_rate_limit(QEMUFile *f);
int qemu_file_has_error(QEMUFile *f);
+void qemu_file_set_error(QEMUFile *f);
/* Try to send any outstanding data. This function is useful when output is
* halted due to rate limiting or EAGAIN errors occur as it can be used to