Re: [Qemu-devel] [PATCH 08/36] buffered_file: reuse QEMUFile has_error field

2011-10-17 Thread Anthony Liguori
On 10/11/2011 05:00 AM, Juan Quintela wrote: Instead of having two has_error fields in QEMUFile& QEMUBufferedFile, reuse the 1st one. Notice that the one in buffered_file is only set after a file operation. Signed-off-by: Juan Quintela Reviewed-by: Anthony Liguori Regards, Anthony Liguori

[Qemu-devel] [PATCH 08/36] buffered_file: reuse QEMUFile has_error field

2011-10-11 Thread Juan Quintela
Instead of having two has_error fields in QEMUFile & QEMUBufferedFile, reuse the 1st one. Notice that the one in buffered_file is only set after a file operation. Signed-off-by: Juan Quintela --- buffered_file.c | 17 - 1 files changed, 8 insertions(+), 9 deletions(-) diff --