qemu-e2k/include
Stefan Hajnoczi 6b5f876252 aio: convert aio_poll() to g_poll(3)
AioHandler already has a GPollFD so we can directly use its
events/revents.

Add the int pollfds_idx field to AioContext so we can map g_poll(3)
results back to AioHandlers.

Reuse aio_dispatch() to invoke handlers after g_poll(3).

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Message-id: 1361356113-11049-10-git-send-email-stefanha@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-02-21 16:17:31 -06:00
..
block aio: convert aio_poll() to g_poll(3) 2013-02-21 16:17:31 -06:00
bt softmmu: move remaining include files to include/ subdirectories 2012-12-19 08:32:46 +01:00
char chardev: fix QemuOpts lifecycle 2013-01-16 06:58:53 +01:00
disas build: kill libdis, move disassemblers to disas/ 2012-12-19 08:29:06 +01:00
exec cpu: Move current_tb field to CPUState 2013-02-16 14:51:00 +01:00
fpu softfloat: Implement uint64_to_float128 2013-01-05 10:12:50 +00:00
migration migration: make qemu_ftell() public and support writable files 2013-02-12 16:26:44 -06:00
monitor monitor: move include files to include/monitor/ 2012-12-19 08:31:32 +01:00
net tap: multiqueue support 2013-02-01 11:03:02 -06:00
qapi misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
qemu iohandler: switch to GPollFD 2013-02-21 16:17:31 -06:00
qom cpu: Add CPUArchState pointer to CPUState 2013-02-16 14:51:00 +01:00
sysemu Remove forward declaration of non-existant variable 2013-02-21 10:33:39 +01:00
ui qemu-pixman.h: Avoid mutual inclusion loop with console.h 2013-01-30 11:16:28 +01:00
config.h janitor: move remaining public headers to include/ 2012-12-19 08:32:46 +01:00
elf.h janitor: move remaining public headers to include/ 2012-12-19 08:32:46 +01:00
libfdt_env.h fdt: Use bswapN instead of bswap_N 2013-01-12 12:22:58 +00:00
qemu-common.h cutils: unsigned int parsing functions 2013-02-04 14:38:33 -06:00
trace.h build: some simplifications for "trace/Makefile.objs" 2013-01-12 18:42:51 +01:00