OSDN Git Service

KVM: s390: protvirt: Add new gprs location handling
authorJanosch Frank <frankja@linux.ibm.com>
Wed, 8 May 2019 13:52:00 +0000 (15:52 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 27 Feb 2020 18:47:11 +0000 (19:47 +0100)
commitc8aac2344d663ec9c635ccec368341602f255f4c
tree8b504f789c3e601b86a36f1bd98796506cfc8a6d
parente663df91dd8580d23234f723a3d0c419572bc32e
KVM: s390: protvirt: Add new gprs location handling

Guest registers for protected guests are stored at offset 0x380.  We
will copy those to the usual places.  Long term we could refactor this
or use register access functions.

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
[borntraeger@de.ibm.com: patch merging, splitting, fixing]
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/include/asm/kvm_host.h
arch/s390/kvm/kvm-s390.c