aboutsummaryrefslogtreecommitdiff
path: root/target-s390x/cpu-qom.h
diff options
context:
space:
mode:
authorMatthew Rosato <mjrosato@linux.vnet.ibm.com>2016-03-04 12:34:34 -0500
committerCornelia Huck <cornelia.huck@de.ibm.com>2016-03-10 10:37:15 +0100
commit96b1a8bb55f1aeb72a943d1001841ff8b0687059 (patch)
tree90feaf80df338c6eff79116a3242b47943e316e6 /target-s390x/cpu-qom.h
parent502edbf834a3c86a8ab40b23e040a45198301e1c (diff)
downloadqemu-96b1a8bb55f1aeb72a943d1001841ff8b0687059.zip
qemu-96b1a8bb55f1aeb72a943d1001841ff8b0687059.tar.gz
qemu-96b1a8bb55f1aeb72a943d1001841ff8b0687059.tar.bz2
s390x/cpu: Add error handling to cpu creation
Check for and propogate errors during s390 cpu creation. Signed-off-by: Matthew Rosato <mjrosato@linux.vnet.ibm.com> Message-Id: <1457112875-5209-7-git-send-email-mjrosato@linux.vnet.ibm.com> Reviewed-by: David Hildenbrand <dahi@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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-s390x/cpu-qom.h b/target-s390x/cpu-qom.h
index 56d82f2..1c90933 100644
--- a/target-s390x/cpu-qom.h
+++ b/target-s390x/cpu-qom.h
@@ -68,6 +68,7 @@ typedef struct S390CPU {
/*< public >*/
CPUS390XState env;
+ int64_t id;
/* needed for live migration */
void *irqstate;
uint32_t irqstate_saved_size;