]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Report errors from iohelper
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 22 Oct 2012 15:07:49 +0000 (17:07 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 29 Oct 2012 16:04:26 +0000 (17:04 +0100)
commit34e8f63a32f830e23472dd2056e3c5a48d0c5710
tree904433bcab0598b9d6b959e63effe71192d94c8c
parentcbd10126ed8e7ad916a02aaa49dd7803a9652d27
qemu: Report errors from iohelper

Currently, we use iohelper when saving/restoring a domain.
However, if there's some kind of error (like I/O) it is not
propagated to libvirt. Since it is not qemu who is doing
the actual write() it will not get error. The iohelper does.
Therefore we should check for iohelper errors as it makes
libvirt more user friendly.
src/libvirt_private.syms
src/qemu/qemu_driver.c
src/util/virfile.c
src/util/virfile.h