]> Git Repo - qemu.git/commit - target/s390x/kvm.c
s390x/kvm: avoid syscalls by syncing registers with kvm_run
authorDavid Hildenbrand <[email protected]>
Wed, 3 Dec 2014 14:38:31 +0000 (15:38 +0100)
committerCornelia Huck <[email protected]>
Mon, 12 Jan 2015 09:14:04 +0000 (10:14 +0100)
commit59ac15326ed8c936459c8163cf264e9fd35a18ba
treecfd2cf04330494b683034fc2478e9e84e2268231
parentfdb78ec00655e59c8d47eec91918a4da0d966685
s390x/kvm: avoid syscalls by syncing registers with kvm_run

We can avoid loads of syscalls when dropping to user space by storing the values
of more registers directly within kvm_run.

Support is added for:
- ARCH0: CPU timer, clock comparator, TOD programmable register,
         guest breaking-event register, program parameter
- PFAULT: pfault parameters (token, select, compare)

Signed-off-by: David Hildenbrand <[email protected]>
Signed-off-by: Jens Freimann <[email protected]>
Reviewed-by: Cornelia Huck <[email protected]>
Acked-by: Christian Borntraeger <[email protected]>
Signed-off-by: Cornelia Huck <[email protected]>
target-s390x/kvm.c
This page took 0.023889 seconds and 4 git commands to generate.