commit | b3d4aae240325b01b69a9f88ee76b7abfd6a418c | [log] [tgz] |
---|---|---|
author | Gerd Hoffmann <kraxel@redhat.com> | Fri Dec 06 13:27:09 2013 +0100 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Thu Dec 12 14:56:51 2013 +0100 |
tree | 84f09b7a4b26dd30deafc6164bb8039c1627de95 | |
parent | feb0284e3737631a19e3f7a1c1097b8c6b40fb2f [diff] |
run qemu_cfg_e820 only for CONFIG_QEMU=y Otherwise we'll clobber the e820 table from coreboot. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
diff --git a/src/fw/paravirt.c b/src/fw/paravirt.c index b84196a..00e327d 100644 --- a/src/fw/paravirt.c +++ b/src/fw/paravirt.c
@@ -253,6 +253,9 @@ struct e820_reservation *table; int i, size; + if (!CONFIG_QEMU) + return; + // "etc/e820" has both ram and reservations table = romfile_loadfile("etc/e820", &size); if (table) {