pc: Use cpu_x86_init() to obtain X86CPU
commit608911acac53f08dfaaf1878f56d4e32ee572ce4
authorAndreas Färber <afaerber@suse.de>
Wed, 2 May 2012 16:49:27 +0000 (2 18:49 +0200)
committerAndreas Färber <afaerber@suse.de>
Mon, 4 Jun 2012 21:00:42 +0000 (4 23:00 +0200)
tree14ef9fd6958e3203bcdb81bff8c4a61166145734
parentb47ed9969fb12527c40aa507e165061c20e21836
pc: Use cpu_x86_init() to obtain X86CPU

Needed for pc_cpu_reset().

Also change return type to X86CPU.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
hw/pc.c