s390x/cpu: use g_new0
commit75cfb3bb41005b1cbba4954057ad5426df83f6d7
authorCornelia Huck <cornelia.huck@de.ibm.com>
Thu, 10 Mar 2016 09:19:46 +0000 (10 10:19 +0100)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Thu, 10 Mar 2016 11:02:02 +0000 (10 12:02 +0100)
treeaead1869d772fca4f8180cc0675eee8de67293d4
parent8b8a61ad8cc054e52b5d17c8ba45691d2dc0acbd
s390x/cpu: use g_new0

Let's use g_new0 to allocate cpu_states.

Suggested-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
hw/s390x/s390-virtio.c