From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=37915 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PqNJO-0003PD-0m for qemu-devel@nongnu.org; Fri, 18 Feb 2011 05:11:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PqNJF-0002JE-8f for qemu-devel@nongnu.org; Fri, 18 Feb 2011 05:11:41 -0500 Received: from goliath.siemens.de ([192.35.17.28]:30412) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PqNJE-0002J0-TJ for qemu-devel@nongnu.org; Fri, 18 Feb 2011 05:11:33 -0500 From: Jan Kiszka Date: Fri, 18 Feb 2011 11:11:19 +0100 Message-Id: <7e2a86f38f508743ea7abb0c74cfe9301abb63f1.1298023878.git.jan.kiszka@siemens.com> In-Reply-To: References: In-Reply-To: References: Subject: [Qemu-devel] [PATCH v2 08/15] kvm: Rename kvm_arch_process_irqchip_events to async_events List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity , Marcelo Tosatti Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org We will broaden the scope of this function on x86 beyond irqchip events. Signed-off-by: Jan Kiszka --- kvm-all.c | 2 +- kvm.h | 2 +- target-i386/kvm.c | 2 +- target-ppc/kvm.c | 2 +- target-s390x/kvm.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/kvm-all.c b/kvm-all.c index e6a7de4..6522a32 100644 --- a/kvm-all.c +++ b/kvm-all.c @@ -893,7 +893,7 @@ int kvm_cpu_exec(CPUState *env) DPRINTF("kvm_cpu_exec()\n"); - if (kvm_arch_process_irqchip_events(env)) { + if (kvm_arch_process_async_events(env)) { env->exit_request = 0; return EXCP_HLT; } diff --git a/kvm.h b/kvm.h index 59b2c29..7bc04e0 100644 --- a/kvm.h +++ b/kvm.h @@ -102,7 +102,7 @@ void kvm_arch_post_run(CPUState *env, struct kvm_run *run); int kvm_arch_handle_exit(CPUState *env, struct kvm_run *run); -int kvm_arch_process_irqchip_events(CPUState *env); +int kvm_arch_process_async_events(CPUState *env); int kvm_arch_get_registers(CPUState *env); diff --git a/target-i386/kvm.c b/target-i386/kvm.c index f909661..a416554 100644 --- a/target-i386/kvm.c +++ b/target-i386/kvm.c @@ -1675,7 +1675,7 @@ void kvm_arch_post_run(CPUState *env, struct kvm_run *run) cpu_set_apic_base(env->apic_state, run->apic_base); } -int kvm_arch_process_irqchip_events(CPUState *env) +int kvm_arch_process_async_events(CPUState *env) { if (kvm_irqchip_in_kernel()) { return 0; diff --git a/target-ppc/kvm.c b/target-ppc/kvm.c index 3924f4b..6c99a16 100644 --- a/target-ppc/kvm.c +++ b/target-ppc/kvm.c @@ -259,7 +259,7 @@ void kvm_arch_post_run(CPUState *env, struct kvm_run *run) { } -int kvm_arch_process_irqchip_events(CPUState *env) +int kvm_arch_process_async_events(CPUState *env) { return 0; } diff --git a/target-s390x/kvm.c b/target-s390x/kvm.c index b349812..5673a95 100644 --- a/target-s390x/kvm.c +++ b/target-s390x/kvm.c @@ -177,7 +177,7 @@ void kvm_arch_post_run(CPUState *env, struct kvm_run *run) { } -int kvm_arch_process_irqchip_events(CPUState *env) +int kvm_arch_process_async_events(CPUState *env) { return 0; } -- 1.7.1