From: Jan Kiszka <jan.kis...@siemens.com> The ordering doesn't matter in this case, but better keep it consistent.
Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> --- target-i386/kvm.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/target-i386/kvm.c b/target-i386/kvm.c index fda07d2..b4c6cd4 100644 --- a/target-i386/kvm.c +++ b/target-i386/kvm.c @@ -1388,12 +1388,12 @@ int kvm_arch_put_registers(CPUState *env, int level) if (ret < 0) { return ret; } - /* must be last */ - ret = kvm_guest_debug_workarounds(env); + ret = kvm_put_debugregs(env); if (ret < 0) { return ret; } - ret = kvm_put_debugregs(env); + /* must be last */ + ret = kvm_guest_debug_workarounds(env); if (ret < 0) { return ret; } -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html