summaryrefslogtreecommitdiffstats
path: root/scripts/qapi
diff options
context:
space:
mode:
authorRoss Lagerwall2018-02-06 17:30:39 +0100
committerDr. David Alan Gilbert2018-02-14 11:18:42 +0100
commit96994fd1e4e0da2a3b5d585a58621722199c67c9 (patch)
treee433177839b07a28ecb04fcecb37e19b28a97e9f /scripts/qapi
parentMerge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging (diff)
downloadqemu-96994fd1e4e0da2a3b5d585a58621722199c67c9.tar.gz
qemu-96994fd1e4e0da2a3b5d585a58621722199c67c9.tar.xz
qemu-96994fd1e4e0da2a3b5d585a58621722199c67c9.zip
migration/xen: Check return value of qemu_fclose
QEMUFile uses buffered IO so when writing small amounts (such as the Xen device state file), the actual write call and any errors that may occur only happen as part of qemu_fclose(). Therefore, report IO errors when saving the device state under Xen by checking the return value of qemu_fclose(). Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com> Message-Id: <20180206163039.23661-1-ross.lagerwall@citrix.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'scripts/qapi')
0 files changed, 0 insertions, 0 deletions