kvm: Rename kvm_arch_process_irqchip_events to async_events

We will broaden the scope of this function on x86 beyond irqchip events.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
This commit is contained in:
Jan Kiszka 2011-03-02 08:56:13 +01:00 committed by Marcelo Tosatti
parent 419fb20a8e
commit 990368650f
5 changed files with 5 additions and 5 deletions

View File

@ -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;
}

2
kvm.h
View File

@ -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);

View File

@ -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;

View File

@ -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;
}

View File

@ -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;
}