From patchwork Thu Jan 6 17:56:24 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [18/35] kvm: x86: Align kvm_arch_put_registers code with comment Date: Thu, 06 Jan 2011 07:56:24 -0000 From: Marcelo Tosatti X-Patchwork-Id: 77781 Message-Id: To: Anthony Liguori Cc: Jan Kiszka , Marcelo Tosatti , qemu-devel@nongnu.org, kvm@vger.kernel.org From: Jan Kiszka The ordering doesn't matter in this case, but better keep it consistent. Signed-off-by: Jan Kiszka Signed-off-by: Marcelo Tosatti --- 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 d4f253e..684430f 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; }