]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: vsie: correctly set and handle guest TOD
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Thu, 29 Oct 2015 09:30:36 +0000 (10:30 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 21 Jun 2016 07:43:46 +0000 (09:43 +0200)
commitab9cd029bacaa752b0509395e03c54cbf9c6c02a
treeda99d623f00f1786619141a2e82b48b182187c18
parent12afaafd9f0714bd9796da0bd75448561f9a9f26
KVM: s390: vsie: correctly set and handle guest TOD

Guest 2 sets up the epoch of guest 3 from his point of view. Therefore,
we have to add the guest 2 epoch to the guest 3 epoch. We also have to take
care of guest 2 epoch changes on STP syncs. This will work just fine by
also updating the guest 3 epoch when a vsie_block has been set for a VCPU.

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