diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-12-14 16:07:35 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-18 11:26:27 -0600 |
commit | 15ff7705444ab9663189946d6d648431e0649df1 (patch) | |
tree | 30e64baae52d89be704df33ccd5d7cbb48abdb30 /hw | |
parent | d8bcbabf260a4ecce73180991cad576de850b66d (diff) | |
download | hqemu-15ff7705444ab9663189946d6d648431e0649df1.zip hqemu-15ff7705444ab9663189946d6d648431e0649df1.tar.gz |
Check rom_load_all() return value.
Check rom_load_all() return value.
Also don't make option rom loading failure fatal.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/loader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/loader.c b/hw/loader.c index 4c6981f..dd4a9a2 100644 --- a/hw/loader.c +++ b/hw/loader.c @@ -669,7 +669,7 @@ int rom_load_all(void) "addr 0x" TARGET_FMT_plx ", size 0x%zx, max 0x" TARGET_FMT_plx ")\n", rom->name, addr, rom->romsize, rom->max); - return -1; + continue; } } else { /* fixed address requested */ |