diff --git a/patches/0025-smbios-ports-slots.patch b/patches/0025-smbios-ports-slots.patch index 8204a0f..7338762 100644 --- a/patches/0025-smbios-ports-slots.patch +++ b/patches/0025-smbios-ports-slots.patch @@ -17,7 +17,7 @@ index 7d71418..140b42a 100644 + /* qemu-spoof: real boards expose port connectors (type 8) and expansion slots + * (type 9); QEMU emits none, so dmidecode is conspicuously empty. Inject a + * plausible desktop default set when none were configured. Inert without a seed. */ -+ if (spoof_on() && QTAILQ_EMPTY(&type8)) { ++ if (spoof_enabled() && QTAILQ_EMPTY(&type8)) { + static const struct { const char *intr, *extr; uint8_t ct, pt; } sp_ports[] = { + { "JUSB1", "USB1", 0x12, 0x10 }, /* Access Bus (USB) / USB */ + { "JUSB2", "USB2", 0x12, 0x10 }, @@ -36,7 +36,7 @@ index 7d71418..140b42a 100644 + QTAILQ_INSERT_TAIL(&type8, t8, next); + } + } -+ if (spoof_on() && QTAILQ_EMPTY(&type9)) { ++ if (spoof_enabled() && QTAILQ_EMPTY(&type9)) { + static const struct { + const char *desig; uint8_t type, width, usage, length; uint16_t id; + } sp_slots[] = {