aliguori 871d2f0796 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>



git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5474 c046a42c-6fe2-441c-8c8c-71466251a162
2008-10-13 03:07:56 +00:00
..
2008-06-21 17:14:50 +00:00
2008-09-02 00:09:25 +00:00
2008-05-12 16:13:33 +00:00
2008-07-02 16:48:32 +00:00
2008-07-02 16:48:32 +00:00
2008-06-13 10:48:22 +00:00
2008-04-14 21:57:44 +00:00
2008-05-12 16:13:33 +00:00
2008-06-21 17:15:00 +00:00
2008-04-11 04:55:07 +00:00
2008-10-02 19:14:17 +00:00
2008-06-21 17:14:50 +00:00
2008-10-02 19:14:17 +00:00
2008-10-04 07:22:29 +00:00
2008-08-17 01:44:53 +00:00
2008-08-17 01:44:53 +00:00
2008-07-05 13:40:58 +00:00
2008-10-13 03:07:56 +00:00
2008-07-01 23:16:53 +00:00
2008-09-22 16:30:29 +00:00
2008-09-20 01:10:32 +00:00
2008-07-21 19:52:54 +00:00
2008-07-21 19:52:54 +00:00
2008-09-20 01:10:32 +00:00
2008-08-22 08:57:09 +00:00
2008-09-28 00:42:12 +00:00
2008-10-02 18:33:50 +00:00
2008-10-02 19:14:17 +00:00
2008-06-09 00:20:13 +00:00
2008-07-02 16:48:32 +00:00
2008-07-02 16:48:32 +00:00
2008-07-02 16:48:32 +00:00
2008-05-25 10:10:12 +00:00
2008-10-04 07:20:07 +00:00
2008-10-04 07:20:07 +00:00
2008-10-04 07:20:07 +00:00
2008-10-02 19:14:17 +00:00
2008-10-02 19:14:17 +00:00
2008-06-02 00:55:08 +00:00
2008-04-14 21:05:22 +00:00
2008-09-02 16:18:28 +00:00
2008-09-15 07:05:18 +00:00
2008-05-12 16:13:33 +00:00
2008-05-10 10:12:00 +00:00
2008-07-02 15:17:21 +00:00
2008-05-12 16:13:33 +00:00
2008-07-07 23:01:25 +00:00
2008-07-07 23:01:25 +00:00
2008-07-02 16:48:32 +00:00
2008-05-12 16:13:33 +00:00
2008-05-10 10:12:00 +00:00
2008-06-09 14:31:18 +00:00
2008-10-02 19:14:17 +00:00
2008-10-02 19:14:17 +00:00
2008-10-02 19:14:17 +00:00
2008-04-22 03:15:10 +00:00
2008-04-22 03:15:10 +00:00
2008-10-11 17:37:25 +00:00