KVM: s390: clear kvm_dirty_regs when dropping to user space
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Tue, 29 Jul 2014 06:22:33 +0000 (08:22 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 25 Aug 2014 12:35:30 +0000 (14:35 +0200)
commitfbfa304963fa8bf990dac1d05a77800d1e123b66
tree70483cab3789e1e85a048a60e748a5cd95617f9b
parentd8482c0d87708114a10e232768723626bf1099ba
KVM: s390: clear kvm_dirty_regs when dropping to user space

We should make sure that all kvm_dirty_regs bits are cleared before dropping
to user space. Until now, some would remain pending.

Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/kvm-s390.c