Remove obsolete qemu_service_io()
Calling qemu_notify_event() directly from posix-aio-compat.c instead.
Change-Id: I527fb46f6788f1492e5bf4b65999cf31a3ecd176
diff --git a/arch_init.c b/arch_init.c
index 426f7bc..4c44dc5 100644
--- a/arch_init.c
+++ b/arch_init.c
@@ -458,11 +458,6 @@
}
#endif
-void qemu_service_io(void)
-{
- qemu_notify_event();
-}
-
#ifdef HAS_AUDIO
struct soundhw {
const char *name;
diff --git a/include/qemu-common.h b/include/qemu-common.h
index 52ce89b..5ba641b 100644
--- a/include/qemu-common.h
+++ b/include/qemu-common.h
@@ -312,9 +312,6 @@
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);
diff --git a/posix-aio-compat.c b/posix-aio-compat.c
index aa9df42..269f6c0 100644
--- a/posix-aio-compat.c
+++ b/posix-aio-compat.c
@@ -512,7 +512,7 @@
die("write()");
}
- qemu_service_io();
+ qemu_notify_event();
}
static void paio_remove(struct qemu_paiocb *acb)