qemu_fclose() could return error, f.e. if bdrv_co_flush() will return
the error.
This validation will become more important once we will start waiting of
asynchronous IO operations, started from bdrv_write_vmstate(), which are
coming soon.
Signed-off-by: Denis V. Lunev<den@openvz.org>
CC: Kevin Wolf<kwolf@redhat.com>
CC: Max Reitz<mreitz@redhat.com>
CC: Stefan Hajnoczi<stefanha@redhat.com>
CC: Fam Zheng<fam@euphon.net>
CC: Juan Quintela<quintela@redhat.com>
CC: "Dr. David Alan Gilbert"<dgilbert@redhat.com>
CC: Vladimir Sementsov-Ogievskiy<vsementsov@virtuozzo.com>
CC: Denis Plotnikov<dplotnikov@virtuozzo.com>