[ Get, save, synchronize, put... hell. Reminds me: what's the schedule
for finally dropping libkvm? ]

Fix this fallout from recent qemu-trunk merge, it broke guest debugging.

Signed-off-by: Jan Kiszka <[email protected]>
---

 qemu/qemu-kvm.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/qemu/qemu-kvm.h b/qemu/qemu-kvm.h
index 4a3ba53..c0549df 100644
--- a/qemu/qemu-kvm.h
+++ b/qemu/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)
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to