Isolate cpu initialization function in hw/pc.c
commit4376f23233339bbf1d108cf73a7043a788b690c2
authorGlauber Costa <gcosta@redhat.com>
Tue, 26 Feb 2008 19:56:38 +0000 (26 16:56 -0300)
committerAvi Kivity <avi@qumranet.com>
Wed, 27 Feb 2008 10:45:57 +0000 (27 12:45 +0200)
tree2a6935107a64a2b0b02953025c14ab664940c6f9
parent2f0717fb9c582d3210421c394f7c765374755b04
Isolate cpu initialization function in hw/pc.c

This patch wraps up the piece of code in hw/pc.c that
actually allocates and initializates a cpu. After that,
plan is to be able to start it later on.

Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
hw/pc.c
hw/pc.h