From: Gleb Natapov Subject: [PATCH 3/8] Call kvm_arch_load_regs() instead of kvm_load_registers() Date: Mon, 15 Jun 2009 16:23:12 +0300 Message-ID: <1245072197-7538-4-git-send-email-gleb@redhat.com> References: <1245072197-7538-1-git-send-email-gleb@redhat.com> Cc: kvm@vger.kernel.org To: avi@redhat.com Return-path: Received: from mx2.redhat.com ([66.187.237.31]:44161 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760860AbZFONXQ (ORCPT ); Mon, 15 Jun 2009 09:23:16 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n5FDNJbe026656 for ; Mon, 15 Jun 2009 09:23:19 -0400 In-Reply-To: <1245072197-7538-1-git-send-email-gleb@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: The call is done from vcpu thread. Signed-off-by: Gleb Natapov --- qemu-kvm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/qemu-kvm.c b/qemu-kvm.c index 7676e02..5fa7154 100644 --- a/qemu-kvm.c +++ b/qemu-kvm.c @@ -399,7 +399,7 @@ static int kvm_main_loop_cpu(CPUState *env) #endif cpu_single_env = env; - kvm_load_registers(env); + kvm_arch_load_regs(env); while (1) { while (!has_work(env)) -- 1.6.2.1