I have patches for coreboot in the queue adding q35 support there, which will change the mainboard names (adding the detected chipset). Make SeaBIOS check the mainboard name starts with "QEMU" instead of doing a full string match to handle this.
Signed-off-by: Gerd Hoffmann kraxel@redhat.com --- src/coreboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/coreboot.c b/src/coreboot.c index 6d255ca..5078e9a 100644 --- a/src/coreboot.c +++ b/src/coreboot.c @@ -167,7 +167,7 @@ coreboot_preinit(void) CBvendor = &cbmb->strings[cbmb->vendor_idx]; CBpart = &cbmb->strings[cbmb->part_idx]; if (strcmp(CBvendor, "Emulation") == 0 && - strcmp(CBpart, "QEMU x86") == 0) { + memcmp(CBpart, "QEMU", 4) == 0) { PlatformRunningOn |= PF_QEMU; } dprintf(1, "Found mainboard %s %s\n", CBvendor, CBpart);