]> git.proxmox.com Git - mirror_ubuntu-artful-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)
commit91473b487dd58af6384c5c3db13de50defa2c106
treeda99d623f00f1786619141a2e82b48b182187c18
parentb917ae573f5b3f7fee8cfb0d42d74bd8641f6401
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