Peter Maydell c24323dd5f hw/i386/pc.c: Don't use load_image()
The load_image() function is deprecated, as it does not let the
caller specify how large the buffer to read the file into is.
Use the glib g_file_get_contents() function instead, which does
the whole "allocate memory for the file and read it in" operation.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 20181130151712.2312-6-peter.maydell@linaro.org
2018-12-14 13:30:51 +00:00
..
2018-11-27 15:35:15 +01:00
2018-10-24 06:44:59 -03:00
2018-12-14 13:30:51 +00:00
2018-10-24 06:44:59 -03:00
2018-11-27 15:35:15 +01:00
2018-12-14 13:30:51 +00:00
2018-11-08 14:42:37 +00:00
2018-11-27 15:35:15 +01:00
2018-12-03 19:57:59 +00:00
2018-12-11 22:26:44 +00:00
2018-10-26 17:17:32 +02:00