]> 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)
commit4b71a4d440c88f86b70deead5436005dea84cb57
treed071bcc50d9ce0e320ea18fe72dd35271f202ec8
parent9220c3ee2f32af5ba06edde6d6a082dc435c3c50
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