mirror of https://gitee.com/openkylin/qemu.git
core: remove qemu_service_io
qemu_service_io was mainly an alias to qemu_notify_event, currently used only by PPC for timer hack, so call qemu_notify_event directly. Signed-off-by: Frediano Ziglio <freddy77@gmail.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
7e36b264ce
commit
74e26c179e
|
@ -459,11 +459,6 @@ int ram_load(QEMUFile *f, void *opaque, int version_id)
|
|||
return 0;
|
||||
}
|
||||
|
||||
void qemu_service_io(void)
|
||||
{
|
||||
qemu_notify_event();
|
||||
}
|
||||
|
||||
#ifdef HAS_AUDIO
|
||||
struct soundhw {
|
||||
const char *name;
|
||||
|
|
|
@ -276,9 +276,6 @@ void cpu_exec_init_all(void);
|
|||
void cpu_save(QEMUFile *f, void *opaque);
|
||||
int cpu_load(QEMUFile *f, void *opaque, int version_id);
|
||||
|
||||
/* Force QEMU to stop what it's doing and service IO */
|
||||
void qemu_service_io(void);
|
||||
|
||||
/* Force QEMU to process pending events */
|
||||
void qemu_notify_event(void);
|
||||
|
||||
|
|
|
@ -29,10 +29,6 @@ struct QEMUBH
|
|||
void *opaque;
|
||||
};
|
||||
|
||||
void qemu_service_io(void)
|
||||
{
|
||||
}
|
||||
|
||||
Monitor *cur_mon;
|
||||
|
||||
int monitor_cur_is_qmp(void)
|
||||
|
|
|
@ -88,7 +88,7 @@ void kvmppc_fdt_update(void *fdt)
|
|||
|
||||
static void kvmppc_timer_hack(void *opaque)
|
||||
{
|
||||
qemu_service_io();
|
||||
qemu_notify_event();
|
||||
qemu_mod_timer(kvmppc_timer, qemu_get_clock_ns(vm_clock) + kvmppc_timer_rate);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue