qemu-irix/include/hw
Eric Auger 6b3f7f639e vl: move rom_load_all after machine init done
On ARM, commit ac9d32e396 postponed the
memory preparation for boot until the machine init done notifier. This
has for consequence to insert ROM at machine init done time.

However the rom_load_all function stayed called before the ROM are
inserted. As a consequence the rom_load_all function does not do
everything it is expected to do, on ARM.

It currently registers the ROM reset notifier but does not iterate through
the registered ROM list. the isrom field is not set properly. This latter
is used to report info in the monitor and also to decide whether the
rom->data can be freed on ROM reset notifier.

To fix that regression the patch moves the rom_load_all call after
machine init done. We also take the opportunity to rename the rom_load_all
function into rom_check_and_resgister_reset() and integrate the
rom_load_done in it.

Signed-off-by: Eric Auger <eric.auger@linaro.org>
Reported-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Message-Id: <1434470874-22573-1-git-send-email-eric.auger@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-07-07 11:03:16 +02:00
..
acpi ich9: add smm_enabled field and arguments 2015-07-06 17:59:44 +02:00
arm Stop including qemu-common.h in memory.h 2015-07-06 14:59:09 +02:00
audio
block
char
cpu
cris
i2c
i386 pc: add SMM property 2015-07-06 18:39:59 +02:00
input
intc
ipack
isa
kvm
lm32
m68k
mem pc,pc-dimm: Factor out reusable parts in pc_dimm_plug to a separate routine 2015-07-03 17:47:58 -03:00
mips net/dp8393x: QOM'ify 2015-06-11 10:13:30 +01:00
misc
net
nvram fw_cfg: remove support for guest-side data writes 2015-06-10 08:00:37 +02:00
pci hw/pci-bridge: introduce "shpc" property 2015-06-23 22:57:48 +02:00
pci-host q35: implement TSEG 2015-06-05 19:45:13 +02:00
ppc -----BEGIN PGP SIGNATURE----- 2015-06-08 14:07:32 +01:00
s390x
scsi
sh4
sparc
timer
tricore
unicore32
usb
vfio hw/vfio/platform: calxeda xgmac device 2015-06-09 08:17:17 -06:00
virtio virtio-input: add input routing support 2015-07-03 12:21:11 +02:00
watchdog s390x/watchdog: introduce diag288 watchdog device 2015-06-11 17:45:49 +02:00
xen
boards.h machine: add default_ram_size to machine class 2015-06-03 23:56:55 +02:00
bt.h
compat.h
devices.h
elf_ops.h
empty_slot.h
fw-path-provider.h
hotplug.h
hw.h
ide.h
irq.h
loader.h vl: move rom_load_all after machine init done 2015-07-07 11:03:16 +02:00
nmi.h nmi: Implement inject_nmi() for non-monitor context use 2015-06-11 17:45:50 +02:00
pcmcia.h
platform-bus.h
ptimer.h
qdev-core.h qdev: Un-deprecate qdev_init_nofail() 2015-06-19 19:14:32 +02:00
qdev-dma.h
qdev-properties.h
qdev.h
sd.h
ssi.h
stream.h
sysbus.h hw/core: explicit OFW unit address callback for SysBusDeviceClass 2015-06-23 22:58:36 +02:00
usb.h