diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2012-10-29 02:13:21 +0000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2012-10-29 19:41:55 +0100 |
commit | 5b08b344bf581a266071389ceeb445e943e01ba1 (patch) | |
tree | 89dc55f57001adffd7f9ea3c00abe33c091a3039 /target-s390x/cpu.h | |
parent | 1b3e6f88dc151578acb6158e22570cf3ee7cbb69 (diff) |
s390: use sync regs for register transfer
Newer kernels provide the guest registers in kvm_run. Lets use
those if available (i.e. the capability is set). This avoids
ioctls on cpu_synchronize_state making intercepts faster.
In addition, we have now the prefix register, the access registers
the control registers up to date. This helps in certain cases,
e.g. for resolving kernel module addresses with gdb on a guest.
On return, we update the registers according to the level statement,
i.e. we put all registers for KVM_PUT_FULL_STATE and _RESET_STATE.
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-s390x/cpu.h')
0 files changed, 0 insertions, 0 deletions