apsun / loliOS

Lightweight & operational Linux-inspired OS.
33 stars 1 forks source link

RTC broken since QEMU 8.1 #37

Closed apsun closed 8 months ago

apsun commented 8 months ago

https://github.com/qemu/qemu/blob/80f1709aa0eb4de09b4240563463f991a5b9d855/hw/rtc/mc146818rtc.c#L253 seems to no longer work as s->irq is NULL for some reason. I suspect one of the recent-ish changes in https://github.com/qemu/qemu/commits/master/hw/i386/pc.c which touch RTC initialization is to blame.

As a result of this, no interrupts are generated by the RTC device and all reads hang.

apsun commented 8 months ago

For some reason this only seems to affect isapc, so just using default machine type instead. Fixed in cb682d480036fa46a8c7c4e42beadb604806f7d1