qemu/hw/nvram
Li Qiang bed6633677 fw_cfg: Improve error message when can't load splash file
read_splashfile() reports "failed to read splash file" without
further details. Get the details from g_file_get_contents(), and
include them in the error message. Also remove unnecessary 'res'
variable.

Signed-off-by: Li Qiang <liq3ea@gmail.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <1541052148-28752-1-git-send-email-liq3ea@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
2019-01-04 15:30:52 +01:00
..
chrp_nvram.c nvram: Move the remaining CHRP NVRAM related code to chrp_nvram.[ch] 2016-10-28 09:36:58 +11:00
ds1225y.c nvram/ds1225y: Convert sysbus init function to realize function 2018-12-13 13:48:00 +00:00
eeprom93xx.c vmstate: constify VMStateField 2018-11-27 15:35:15 +01:00
eeprom_at24c.c hw/i2c: Use DeviceClass::realize instead of I2CSlaveClass::init 2018-06-01 15:14:31 +02:00
fw_cfg.c fw_cfg: Improve error message when can't load splash file 2019-01-04 15:30:52 +01:00
mac_nvram.c migration: consolidate VMStateField.start 2017-02-13 17:27:13 +00:00
Makefile.objs ppc: move at24c to its own CONFIG_ symbol 2018-10-30 09:12:09 +01:00
spapr_nvram.c hw/ppc: Use the IEC binary prefix definitions 2018-07-02 15:41:16 +02:00
trace-events trace-events: fix code style: print 0x before hex numbers 2017-08-01 12:13:07 +01:00