qemu/hw/i386
Peter Maydell 5250b09e57 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
2018-12-14 13:30:51 +00:00
..
kvm kvmclock: run KVM_KVMCLOCK_CTRL ioctl in vcpu thread 2018-10-02 19:09:13 +02:00
xen hw/xen: Use the IEC binary prefix definitions 2018-07-02 15:41:13 +02:00
acpi-build.c x86_iommu/amd: Enable Guest virtual APIC support 2018-11-05 13:24:02 -05:00
acpi-build.h
amd_iommu.c x86_iommu/amd: Add interrupt remap support when VAPIC is enabled 2018-11-05 13:24:02 -05:00
amd_iommu.h x86_iommu/amd: Enable Guest virtual APIC support 2018-11-05 13:24:02 -05:00
intel_iommu_internal.h intel-iommu: Extend address width to 48 bits 2018-01-18 21:52:38 +02:00
intel_iommu.c x86_iommu: move vtd_generate_msi_message in common file 2018-11-05 13:24:02 -05:00
kvmvapic.c target: Do not include "exec/exec-all.h" if it is not necessary 2018-06-01 14:15:10 +02:00
Makefile.objs hw/i386: make IOMMUs configurable via default-configs/ 2018-03-12 16:12:46 +01:00
multiboot.c hw/i386/multiboot.c: Don't use load_image() 2018-12-14 13:30:51 +00:00
multiboot.h
pc_piix.c pc: Use default_machine_opts to set suppress_vmdesc 2018-12-11 15:45:22 -02:00
pc_q35.c q35/440fx/arm/spapr: Add QEMU 4.0 machine type 2018-12-11 15:45:22 -02:00
pc_sysfw.c hw/i386: Use the IEC binary prefix definitions 2018-07-02 15:41:16 +02:00
pc.c hw/i386/pc.c: Don't use load_image() 2018-12-14 13:30:51 +00:00
trace-events x86_iommu/amd: Add interrupt remap support when VAPIC is enabled 2018-11-05 13:24:02 -05:00
vmmouse.c hw/input/i8042: Extract declarations from i386/pc.h into input/i8042.h 2018-03-12 16:12:48 +01:00
vmport.c hw/input/i8042: Extract declarations from i386/pc.h into input/i8042.h 2018-03-12 16:12:48 +01:00
x86-iommu.c x86_iommu: move vtd_generate_msi_message in common file 2018-11-05 13:24:02 -05:00