Review Board 2.0.15


kvm: x86: Add support for x86 INIT and STARTUP handling

Review Request #2179 - Created March 3, 2014 and submitted - Latest diff uploaded

Information
Andreas Sandberg
gem5
default
Reviewers
Default
Changeset 10101:297de8f21b5a
---------------------------
kvm: x86: Add support for x86 INIT and STARTUP handling

This changeset adds support for INIT and STARTUP IPI handling. We
currently handle both of these interrupts in gem5 and transfer the
state to KVM. Since we do not have a BIOS loaded, we pretend that the
INIT interrupt actually suspends the CPU after reset.
Tested as a part of a series of patches that enables multicore simulation in kvm. This patch is required to get the application processors to boot since we the multiprocessor bootstrap protocol requires the bootstrap processor to send INIT and STARTUP IPIs to the APs. Linux boots in multiprocessor mode when the whole series is applied.