diff options
author | Adam Lackorzynski <adam@os.inf.tu-dresden.de> | 2009-11-30 23:25:44 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-03 15:25:58 -0600 |
commit | 53ea95de527f146d902aaf442625e0fe6dd25524 (patch) | |
tree | 72bf9cc03515ad237023f8e0be3dec4b421d0386 /hw/pc.c | |
parent | dc61b0dc5a24c7dac5e54a2baf9be235038aae64 (diff) |
multiboot: Fix module loading and setting of mmap.
Signed-off-by: Adam Lackorzynski <adam@os.inf.tu-dresden.de>
Acked-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/pc.c')
-rw-r--r-- | hw/pc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -666,7 +666,7 @@ static int load_multiboot(void *fw_cfg, /* append module data at the end of last module */ mb_kernel_data = qemu_realloc(mb_kernel_data, - mh_load_addr - mb_mod_end); + mb_mod_end - mh_load_addr); load_image(initrd_filename, mb_kernel_data + mb_mod_start - mh_load_addr); |