diff options
| author | Michael S. Tsirkin | 2013-07-24 17:56:08 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2013-10-14 16:48:52 +0200 |
| commit | d916b46494a2a477636a59900ab1609de192f47a (patch) | |
| tree | 496c824eb085e443f536044c7e5d66d2ac722e98 /include | |
| parent | i386: add bios linker/loader (diff) | |
| download | qemu-d916b46494a2a477636a59900ab1609de192f47a.tar.gz qemu-d916b46494a2a477636a59900ab1609de192f47a.tar.xz qemu-d916b46494a2a477636a59900ab1609de192f47a.zip | |
loader: allow adding ROMs in done callbacks
Don't abort if machine done callbacks add ROMs.
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Tested-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Tested-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/hw/loader.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/loader.h b/include/hw/loader.h index e0c576b5e7..58eca9832b 100644 --- a/include/hw/loader.h +++ b/include/hw/loader.h @@ -46,6 +46,7 @@ void *rom_add_blob(const char *name, const void *blob, size_t len, int rom_add_elf_program(const char *name, void *data, size_t datasize, size_t romsize, hwaddr addr); int rom_load_all(void); +void rom_load_done(void); void rom_set_fw(FWCfgState *f); int rom_copy(uint8_t *dest, hwaddr addr, size_t size); void *rom_ptr(hwaddr addr); |
