]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
target-i386: QOM'ify CPU
authorAndreas Färber <afaerber@suse.de>
Mon, 2 Apr 2012 21:20:08 +0000 (23:20 +0200)
committerAndreas Färber <afaerber@suse.de>
Tue, 10 Apr 2012 15:10:27 +0000 (17:10 +0200)
commit5fd2087a1b7b3075828de741d76188441ee35bc8
tree42a1d1abec5d4997f4905c860a87fa58a61c83a5
parent30471bc94e1eb4ce1c87a56b6210a3baa1698d58
target-i386: QOM'ify CPU

Embed CPUX86State as first member of X86CPU.
Distinguish between "x86_64-cpu" and "i386-cpu".
Drop cpu_x86_close() in favor of calling object_delete() directly.

For now let CPUClass::reset() call cpu_state_reset().

Signed-off-by: Andreas Färber <afaerber@suse.de>
target-i386/cpu-qom.h [new file with mode: 0644]
target-i386/cpu.c
target-i386/cpu.h
target-i386/helper.c