Home
last modified time | relevance | path

Searched hist:"96994 fd1" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/migration/
H A Dsavevm.c96994fd1 Tue Feb 06 10:30:39 CST 2018 Ross Lagerwall <ross.lagerwall@citrix.com> 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>