diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2018-12-14 13:30:51 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2018-12-14 13:30:51 +0000 |
| commit | 5250b09e57d9989efc69353d18416aedde00995e (patch) | |
| tree | ed80e0ffac3d47a68156e906ce16ca544efdc768 /hw/core/loader.c | |
| parent | c24323dd5f04d2a8c89f1d0d8daf0322b6fa6fc7 (diff) | |
| download | focaccia-qemu-5250b09e57d9989efc69353d18416aedde00995e.tar.gz focaccia-qemu-5250b09e57d9989efc69353d18416aedde00995e.zip | |
hw/i386/multiboot.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 the code, add the missing error check. 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-7-peter.maydell@linaro.org
Diffstat (limited to 'hw/core/loader.c')
0 files changed, 0 insertions, 0 deletions