diff options
author | David Hildenbrand <dahi@linux.vnet.ibm.com> | 2014-07-17 10:47:43 +0200 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2014-08-25 14:35:53 +0200 |
commit | b028ee3edd54d338dd811aeafd670a2c682be558 (patch) | |
tree | 99ca4c746fbdff114f4e7a057620fc685036c92d /lib/lcm.c | |
parent | c3950b66b9ceff1614db870d2d5a9bd47531a712 (diff) |
KVM: s390: synchronize more registers with kvm_run
In order to reduce the number of syscalls when dropping to user space, this
patch enables the synchronization of the following "registers" with kvm_run:
- ARCH0: CPU timer, clock comparator, TOD programmable register,
guest breaking-event register, program parameter
- PFAULT: pfault parameters (token, select, compare)
The registers are grouped to reduce the overhead when syncing.
As this grows the number of sync registers quite a bit, let's move the code
synchronizing registers with kvm_run from kvm_arch_vcpu_ioctl_run() into
separate helper routines.
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'lib/lcm.c')
0 files changed, 0 insertions, 0 deletions