From: Christian Borntraeger borntrae...@de.ibm.com
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
On 22.08.2012, at 13:54, Jens Freimann wrote:
From: Christian Borntraeger borntrae...@de.ibm.com
Newer kernels provide the guest registers in kvm_run. Lets use
those if available. This avoids ioctls on cpu_synchronize_state
making intercepts faster.
In addition, we have now the prefix
[...]
--- a/target-s390x/kvm.c
+++ b/target-s390x/kvm.c
@@ -88,50 +88,77 @@ void kvm_arch_reset_vcpu(CPUS390XState *env)
/* FIXME: add code to reset vcpu. */
}
+/* we want to have the prefix, the GPRS, the ACRS and the CRS up to date */
+#define QEMU_NEEDED_REGS (KVM_SYNC_PREFIX |
On 20.09.2012, at 14:49, Christian Borntraeger borntrae...@de.ibm.com wrote:
[...]
--- a/target-s390x/kvm.c
+++ b/target-s390x/kvm.c
@@ -88,50 +88,77 @@ void kvm_arch_reset_vcpu(CPUS390XState *env)
/* FIXME: add code to reset vcpu. */
}
+/* we want to have the prefix, the GPRS, the
On 20/09/12 16:13, Alexander Graf wrote:
On 20.09.2012, at 14:49, Christian Borntraeger borntrae...@de.ibm.com wrote:
[...]
--- a/target-s390x/kvm.c
+++ b/target-s390x/kvm.c
@@ -88,50 +88,77 @@ void kvm_arch_reset_vcpu(CPUS390XState *env)
/* FIXME: add code to reset vcpu. */
}
From: Christian Borntraeger borntrae...@de.ibm.com
Newer kernels provide the guest registers in kvm_run. Lets use
those if available. 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