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)
commit15e5020e575d0c1a4eddd99bf7ffdc1f34a3b17d
treed071bcc50d9ce0e320ea18fe72dd35271f202ec8
parentb3ecd4aa8632a86428605ab73393d14779019d82
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