diff options
author | Andreas Färber <afaerber@suse.de> | 2013-01-20 20:23:22 +0100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-03-12 10:35:54 +0100 |
commit | b170fce3dd06372f7bfec9a780ebcb1fce6d57e4 (patch) | |
tree | 2a182ba2a9ec97f929c90dbc2a674a59bc24511a /target-i386/machine.c | |
parent | c71c3e99b8897323af8c2fe0b9851610cd148538 (diff) |
cpu: Register VMStateDescription through CPUState
In comparison to DeviceClass::vmsd, CPU VMState is split in two,
"cpu_common" and "cpu", and uses cpu_index as instance_id instead of -1.
Therefore add a CPU-specific CPUClass::vmsd field.
Unlike the legacy CPUArchState registration, rather register CPUState.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'target-i386/machine.c')
0 files changed, 0 insertions, 0 deletions