Peter Maydell
36bde0911f
hw/pci/pci.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.
Instead use load_image_size().
While we are converting this code, add an error-check
for read failure.
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-5-peter.maydell@linaro.org
2018-12-14 13:30:51 +00:00
..
2018-11-23 13:28:03 +01:00
2018-11-12 15:14:06 +00:00
2018-02-09 13:50:17 +01:00
2018-10-24 06:44:59 -03:00
2018-12-11 15:45:22 -02:00
2018-11-27 07:47:57 +01:00
2018-12-12 09:16:55 +00:00
2018-11-19 15:29:08 +00:00
2018-12-14 13:30:48 +00:00
2018-08-24 13:17:34 +01:00
2018-07-02 15:41:15 +02:00
2018-11-27 15:35:15 +01:00
2018-08-20 11:24:33 +01:00
2018-06-01 15:14:31 +02:00
2018-10-24 06:44:59 -03:00
2018-11-26 14:14:38 -02:00
2018-12-12 10:01:13 +01:00
2018-12-11 15:45:22 -02:00
2018-10-02 19:09:13 +02:00
2018-11-27 07:47:50 +01:00
2018-12-14 13:30:48 +00:00
2018-07-02 15:41:12 +02:00
2018-08-23 18:46:25 +02:00
2018-10-24 07:33:44 +01:00
2018-11-06 11:32:14 +00:00
2018-07-02 15:41:14 +02:00
2018-12-11 15:45:22 -02:00
2018-07-23 15:21:25 +01:00
2018-10-24 06:44:59 -03:00
2018-12-14 13:30:48 +00:00
2018-10-02 19:08:49 +02:00
2018-11-26 13:41:42 +00:00
2018-07-02 15:41:15 +02:00
2018-11-27 15:35:15 +01:00
2018-04-26 13:57:00 +01:00
2018-12-14 13:30:51 +00:00
2018-11-05 13:24:02 -05:00
2018-11-08 14:42:37 +00:00
2018-12-14 13:30:50 +00:00
2018-08-18 18:01:34 +03:00
2018-11-13 15:12:13 -08:00
2018-12-12 10:39:28 +01:00
2018-11-27 15:35:15 +01:00
2018-10-24 07:50:16 +01:00
2018-10-24 06:44:59 -03:00
2018-12-14 13:30:50 +00:00
2018-12-14 13:30:48 +00:00
2018-10-24 06:44:59 -03:00
2018-10-24 06:44:59 -03:00
2018-12-11 15:45:22 -02:00
2018-12-04 10:21:25 -05:00
2018-07-02 15:41:14 +02:00
2018-03-12 16:12:48 +01:00
2018-12-03 19:57:59 +00:00
2018-12-12 10:39:28 +01:00
2018-12-11 22:26:44 +00:00
2018-08-28 18:21:38 +02:00
2018-10-26 17:17:32 +02:00
2018-07-02 15:41:13 +02:00
2018-11-21 10:53:21 -08:00
2018-10-24 06:44:59 -03:00