Not needed any more, the new qemu_detect() function does the job instead.
Signed-off-by: Gerd Hoffmann kraxel@redhat.com --- src/fw/coreboot.c | 4 ---- 1 file changed, 4 deletions(-)
diff --git a/src/fw/coreboot.c b/src/fw/coreboot.c index a234e97..70a99a0 100644 --- a/src/fw/coreboot.c +++ b/src/fw/coreboot.c @@ -190,10 +190,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); }