From 20303b294b5199abe065feeb8aceda0142e2908e Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Mon, 16 Mar 2009 19:36:37 +0100 Subject: [PATCH] Fix twisted kvm_arch_get/put_registers Fix this fallout from recent qemu-trunk merge, it broke guest debugging. Signed-off-by: Jan Kiszka Signed-off-by: Avi Kivity --- qemu-kvm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qemu-kvm.h b/qemu-kvm.h index 4a3ba53094..c0549dfc23 100644 --- a/qemu-kvm.h +++ b/qemu-kvm.h @@ -212,12 +212,12 @@ static inline int kvm_sync_vcpus(void) { return 0; } static inline void kvm_arch_get_registers(CPUState *env) { - kvm_load_registers(env); + kvm_save_registers(env); } static inline void kvm_arch_put_registers(CPUState *env) { - kvm_save_registers(env); + kvm_load_registers(env); } static inline void cpu_synchronize_state(CPUState *env, int modified) -- 2.11.4.GIT