OSDN Git Service

x86: Factor out pc_new_cpu
authorJan Kiszka <jan.kiszka@web.de>
Thu, 25 Jun 2009 06:23:39 +0000 (08:23 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 29 Jun 2009 19:18:08 +0000 (14:18 -0500)
commit3a31f36a07d8d6bf49a7da24c5570153de0fd79e
treeb6062fba17026268b4c37730de159bc7478432c4
parent15dfcd454cb99fd8c65b6ecda24acd9dabd570a7
x86: Factor out pc_new_cpu

At this point, this refactoring looks like overkill. But we will need it
for CPU hotplugging, and qemu-kvm already carries it. Merging it early
would help qemu-kvm when rebasing against upstream.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pc.c