s390x/cmma: clean up cmma reset
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Tue, 21 Jul 2015 09:11:11 +0000 (11:11 +0200)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Wed, 21 Oct 2015 10:21:30 +0000 (12:21 +0200)
commit1cd4e0f6f0a6b1978a5868b41d4faae2071dc4ee
treea9e43a3179d5c28b91793436f3a3aa5310f06194
parent4ab729207fe1464b19c6bec609cd545ab717174a
s390x/cmma: clean up cmma reset

The cmma reset is per VM, so we don't need a cpu object. We can
directly make use of kvm_state, as it is already available when
the reset is called. By moving the cmma reset in our machine reset
function, we can avoid a manual reset handler.

Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-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.h
target-s390x/kvm.c
target-s390x/misc_helper.c