From patchwork Wed Mar 2 07:56:13 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 85045 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 78C82B70BA for ; Wed, 2 Mar 2011 19:03:10 +1100 (EST) Received: from localhost ([127.0.0.1]:53880 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Puh1W-0007nH-6E for incoming@patchwork.ozlabs.org; Wed, 02 Mar 2011 03:03:06 -0500 Received: from [140.186.70.92] (port=41301 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PugvB-0005mc-Mo for qemu-devel@nongnu.org; Wed, 02 Mar 2011 02:56:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PugvA-0005EB-HV for qemu-devel@nongnu.org; Wed, 02 Mar 2011 02:56:33 -0500 Received: from david.siemens.de ([192.35.17.14]:19973) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PugvA-0005Di-6K for qemu-devel@nongnu.org; Wed, 02 Mar 2011 02:56:32 -0500 Received: from mail1.siemens.de (localhost [127.0.0.1]) by david.siemens.de (8.13.6/8.13.6) with ESMTP id p227uU3k011247; Wed, 2 Mar 2011 08:56:30 +0100 Received: from mchn199C.mchp.siemens.de ([146.254.217.97]) by mail1.siemens.de (8.13.6/8.13.6) with ESMTP id p227uKnO031204; Wed, 2 Mar 2011 08:56:30 +0100 From: Jan Kiszka To: Avi Kivity , Marcelo Tosatti Date: Wed, 2 Mar 2011 08:56:13 +0100 Message-Id: X-Mailer: git-send-email 1.7.1 In-Reply-To: References: In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Received-From: 192.35.17.14 Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org Subject: [Qemu-devel] [PATCH v3 10/17] kvm: Rename kvm_arch_process_irqchip_events to async_events X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.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 7753c8a..226843c 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; }