KVM: s390: add etoken support for guests
authorChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 8 Mar 2018 16:08:49 +0000 (16:08 +0000)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 19 Jul 2018 10:59:36 +0000 (12:59 +0200)
commita3da7b4a3be51f37f434f14e11e60491f098b6ea
tree1b68582e0b6c6a215e55050455f64859a6cac290
parent63747bf73cf329d4bce9087067042241c5330a4a
KVM: s390: add etoken support for guests

We want to provide facility 156 (etoken facility) to our
guests. This includes migration support (via sync regs) and
VSIE changes. The tokens are being reset on clear reset. This
has to be implemented by userspace (via sync regs).

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Acked-by: Cornelia Huck <cohuck@redhat.com>
arch/s390/include/asm/kvm_host.h
arch/s390/include/uapi/asm/kvm.h
arch/s390/kvm/kvm-s390.c
arch/s390/kvm/vsie.c
arch/s390/tools/gen_facilities.c