]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: vsie: store guest addresses of satellite blocks in vsie_page
authorDavid Hildenbrand <david@redhat.com>
Tue, 16 Jan 2018 17:15:26 +0000 (18:15 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 24 Jan 2018 13:05:04 +0000 (14:05 +0100)
commitc982f0e4010658641382bbb2ecd3471f309d24d6
treed071bcc50d9ce0e320ea18fe72dd35271f202ec8
parentf45b334016a4b689c3e818964983e0545293c069
KVM: s390: vsie: store guest addresses of satellite blocks in vsie_page

This way, the values cannot change, even if another VCPU might try to
mess with the nested SCB currently getting executed by another VCPU.

We now always use the same gpa for pinning and unpinning a page (for
unpinning, it is only relevant to mark the guest page dirty for
migration).

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20180116171526.12343-3-david@redhat.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/vsie.c