diff --git a/core/chip.c b/core/chip.c index 45733573b6e1..8afc6bb5f9f7 100644 --- a/core/chip.c +++ b/core/chip.c @@ -132,7 +132,8 @@ void init_chips(void) /* Detect Qemu */ if (dt_node_is_compatible(dt_root, "qemu,powernv") || dt_node_is_compatible(dt_root, "qemu,powernv8") || - dt_node_is_compatible(dt_root, "qemu,powernv9")) { + dt_node_is_compatible(dt_root, "qemu,powernv9") || + dt_find_by_path(dt_root, "/qemu")) { proc_chip_quirks |= QUIRK_QEMU | QUIRK_NO_CHIPTOD | QUIRK_NO_DIRECT_CTL | QUIRK_NO_RNG; prlog(PR_NOTICE, "CHIP: Detected QEMU simulator\n");