diff options
author | Patrick Rudolph <siro@das-labor.org> | 2019-02-14 19:47:03 +0100 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2019-07-08 14:50:12 +0000 |
commit | fbdeb4af75d022c237ff48cb3021451d7e8c5328 (patch) | |
tree | f05a6495a02add10f83b30c648a6ae2db329e6c4 /src/arch | |
parent | 26210fa040b4f2e987560a65fd3b4f822de670a3 (diff) |
qemu-q35: die if started on wrong machine
The QEMU machine "PC" doesn't support MCFG.
Die after console init if the user selected the wrong qemu machine
and print a message to use the correct machine type.
Without this patch ramstage dies with non-helpful message:
"get_pbus: dev is NULL!"
Change-Id: I9d1b24176de971c5f827091bc5bc1bac8426f3f6
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/31425
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/arch')
0 files changed, 0 insertions, 0 deletions