commit | b1cc4097d15c29725060f86ecec20a1e635a541f | [log] [tgz] |
---|---|---|
author | Marc-André Lureau <marcandre.lureau@redhat.com> | Wed Feb 28 16:06:10 2018 +0100 |
committer | Michael S. Tsirkin <mst@redhat.com> | Tue Mar 20 03:17:39 2018 +0200 |
tree | 40378599986447c14047362ddbc37b71b4a4ed64 | |
parent | 59ecab182faf84e76f4a07fee904d41e41f4780c [diff] |
fw_cfg: handle fw_cfg_read_blob() error fw_cfg_read_blob() may fail, but does not return error. This may lead to surprising behaviours, like populating zero file entries (in register_file() or during read). Return an error if ACPI locking failed. Also, the following DMA read/write extension will add more error paths that should be handled appropriately. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>