s390x/cpu: Add error handling to cpu creation
commit96b1a8bb55f1aeb72a943d1001841ff8b0687059
authorMatthew Rosato <mjrosato@linux.vnet.ibm.com>
Fri, 4 Mar 2016 17:34:34 +0000 (4 12:34 -0500)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Thu, 10 Mar 2016 09:37:15 +0000 (10 10:37 +0100)
tree90feaf80df338c6eff79116a3242b47943e316e6
parent502edbf834a3c86a8ab40b23e040a45198301e1c
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>
hw/s390x/s390-virtio.c
target-s390x/cpu-qom.h
target-s390x/cpu.c
target-s390x/cpu.h
target-s390x/helper.c