]> git.proxmox.com Git - mirror_qemu.git/commit
cpu: Change parent type to Device
authorEduardo Habkost <ehabkost@redhat.com>
Wed, 5 Dec 2012 16:49:13 +0000 (14:49 -0200)
committerAndreas Färber <afaerber@suse.de>
Tue, 8 Jan 2013 20:03:44 +0000 (21:03 +0100)
commit961f839570f01d60a0b224248e6e56fc1d675793
treee05518306d7e5b792556518a32b7e57251fa3004
parent5d5b24d042072fb4d13e7027f6e52e44390a9896
cpu: Change parent type to Device

This finally makes the CPU class a subclass of the Device class,
allowing us to start using DeviceState properties on CPU subclasses.

It has no_user=1, as creating CPUs using -device doesn't work yet.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
include/qom/cpu.h
qom/cpu.c