OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c10682c
)
buffered_file: buffered_put_buffer() don't need to set last_error
author
Juan Quintela
<quintela@redhat.com>
Wed, 29 Aug 2012 17:52:16 +0000
(19:52 +0200)
committer
Juan Quintela
<quintela@redhat.com>
Wed, 17 Oct 2012 16:34:59 +0000
(18:34 +0200)
Callers on savevm.c:qemu_fflush() will set it.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
buffered_file.c
patch
|
blob
|
history
diff --git
a/buffered_file.c
b/buffered_file.c
index
77928f0
..
ed92df1
100644
(file)
--- a/
buffered_file.c
+++ b/
buffered_file.c
@@
-120,8
+120,6
@@
static int buffered_put_buffer(void *opaque, const uint8_t *buf, int64_t pos, in
error = buffered_flush(s);
if (error < 0) {
DPRINTF("buffered flush error. bailing: %s\n", strerror(-error));
- qemu_file_set_error(s->file, error);
-
return error;
}