/[qemu]
ViewVC logotype

Revision 5474


Jump to revision: Previous Next
Author: aliguori
Date: Mon Oct 13 03:07:56 2008 UTC (15 years, 1 month ago)
Changed paths: 2
Log Message:
Fix some issues with QEMUFile

This patch allows QEMUFile's read and write operations to return 
negative error codes.  This is necessary to detect things like closed 
streams during live migration.

It also removes unused code for QEMUFileFD write path.  Finally, it 
makes sure to avoid attempting to flush an output buffer if the file
is only being used for input.  This was spotted by Uri Lublin.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>


Changed paths:

Path Details
Directorytrunk/hw/hw.h modified , text changed
Directorytrunk/vl.c modified , text changed

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.5