KVM: s390: only reset CMMA state if it was enabled before
authorDominik Dingel <dingel@linux.vnet.ibm.com>
Thu, 18 Jun 2015 11:17:11 +0000 (13:17 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 29 Jul 2015 09:02:32 +0000 (11:02 +0200)
commitc348915585af12a7fc6453524d9835830dba574b
treee34b3ad22cf8b9a6fe86b720f360896240987dc9
parente6db1d61c7cc05dd3c8b787a0bd47dcb94800300
KVM: s390: only reset CMMA state if it was enabled before

There is no point in resetting the CMMA state if it was never enabled.

Signed-off-by: Dominik Dingel <dingel@linux.vnet.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/kvm-s390.c