rmc: enable serial console when running under QEMU

Since we can run ordinary intel-corei7-64 wic images under QEMU
it makes sense to add QEMU quirks enabling serial console
to the RMC DB.

This patch appends "console=ttyS0,115200" to kernel command
line in case the image is used to run a QEMU VM e.g. with the
command:

    $ runqemu ovmf refkit-image-common wic intel-corei7-64 slirp serial nographic

Unfortunately different major versions of QEMU produce different
RMC fingerprints, so the QEMU versions 2.6.x and 2.8.x should be
treated as different boards.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
This commit is contained in:
Dmitry Rozhkov 2017-03-21 14:37:11 +02:00 committed by Saul Wold
parent 5aa04f42d9
commit 23f676af45
4 changed files with 2 additions and 0 deletions

View File

@ -0,0 +1 @@
console=ttyS0,115200

Binary file not shown.

View File

@ -0,0 +1 @@
console=ttyS0,115200

Binary file not shown.