I am running my protected mode kernel under QEMU, and it is causing a general protection fault when trying to execute the assembler HLT instruction. CPL is 0, IOPL is 0 in EFLAGS, interruptions are enabled.
Could this be a QEMU issue or am i missing something?
This happens when emulating SMP (Symmetric Multi-processor).