diff options
author | Matthew Rosato <mjrosato@linux.vnet.ibm.com> | 2016-03-04 12:34:31 -0500 |
---|---|---|
committer | Cornelia Huck <cornelia.huck@de.ibm.com> | 2016-03-10 10:37:15 +0100 |
commit | c6644fc88bed1176f67b4b7a9df691bcf25c0c5b (patch) | |
tree | cbc77b59301b677c72dc951e715202bd99e6f908 /target-s390x/cpu-qom.h | |
parent | ef3027affc755736f1ee5ec60c52a3b317abbc07 (diff) | |
download | qemu-c6644fc88bed1176f67b4b7a9df691bcf25c0c5b.zip qemu-c6644fc88bed1176f67b4b7a9df691bcf25c0c5b.tar.gz qemu-c6644fc88bed1176f67b4b7a9df691bcf25c0c5b.tar.bz2 |
s390x/cpu: Get rid of side effects when creating a vcpu
In preparation for hotplug, defer some CPU initialization
until the device is actually being realized, including
cpu_exec_init.
Signed-off-by: Matthew Rosato <mjrosato@linux.vnet.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Message-Id: <1457112875-5209-4-git-send-email-mjrosato@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'target-s390x/cpu-qom.h')
-rw-r--r-- | target-s390x/cpu-qom.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target-s390x/cpu-qom.h b/target-s390x/cpu-qom.h index 029a44a..56d82f2 100644 --- a/target-s390x/cpu-qom.h +++ b/target-s390x/cpu-qom.h @@ -47,6 +47,8 @@ typedef struct S390CPUClass { CPUClass parent_class; /*< public >*/ + int64_t next_cpu_id; + DeviceRealize parent_realize; void (*parent_reset)(CPUState *cpu); void (*load_normal)(CPUState *cpu); |