Don't register cpu reset handler for cpu with APIC.
commitcd57c0f317c75cad3f553c76dbf59f261b69e33b
authorGleb Natapov <gleb@redhat.com>
Thu, 18 Jun 2009 13:29:18 +0000 (18 16:29 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 22 Jun 2009 15:15:29 +0000 (22 10:15 -0500)
treeca36f5dfb291233b3a3b52e87d627b0d67d46123
parentc2cc47a449c3e16f7dd4d19a536c649ec56a9ac9
Don't register cpu reset handler for cpu with APIC.

APIC reset handler already resets cpu, no need to reset it twice.
Also register cpu_reset handler directly to make it impossible to
add additional code to main_cpu_reset() by mistake.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pc.c