Not needed any more, the new qemu_detect() function does the job instead.
Signed-off-by: Gerd Hoffmann kraxel@redhat.com --- src/coreboot.c | 4 ---- 1 file changed, 4 deletions(-)
diff --git a/src/coreboot.c b/src/coreboot.c index 983a2b5..fbfbeb7 100644 --- a/src/coreboot.c +++ b/src/coreboot.c @@ -188,10 +188,6 @@ coreboot_preinit(void) if (cbmb) { CBvendor = &cbmb->strings[cbmb->vendor_idx]; CBpart = &cbmb->strings[cbmb->part_idx]; - if (strcmp(CBvendor, "Emulation") == 0 && - memcmp(CBpart, "QEMU", 4) == 0) { - PlatformRunningOn |= PF_QEMU; - } dprintf(1, "Found mainboard %s %s\n", CBvendor, CBpart); }