qemu doesn't like isapc
When I tried to run qemu with -M isapc, it crashes. After poking around, it seems to call apic, which isn't available in ISA mode. Line taken from apic.c, line 170 from function apic_local_deliver(…):
APICState *s = env->apic_state;
uint32_t lvt = s->lvt[vector];The second line is where it chokes, but the first is where it messes up: env->apic_state is null and thus causes qemu to crash when it tries to access it. It is called from within pic_irq_request(…), if that's any help. Note that this is only when I enable ISA mode and it is just fine on standard PC.