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:
parent
419fb20a8e
commit
990368650f
@ -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
2
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);
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user