Revision f141eafe posix-aio-compat.h
b/posix-aio-compat.h | ||
---|---|---|
27 | 27 |
struct qemu_paiocb |
28 | 28 |
{ |
29 | 29 |
int aio_fildes; |
30 |
void *aio_buf; |
|
30 |
union { |
|
31 |
struct iovec *aio_iov; |
|
32 |
void *aio_ioctl_buf; |
|
33 |
}; |
|
34 |
int aio_niov; |
|
31 | 35 |
size_t aio_nbytes; |
32 | 36 |
#define aio_ioctl_cmd aio_nbytes /* for QEMU_PAIO_IOCTL */ |
33 | 37 |
int ev_signo; |
34 | 38 |
off_t aio_offset; |
39 |
unsigned aio_flags; |
|
40 |
/* 512 byte alignment required for buffer, offset and length */ |
|
41 |
#define QEMU_AIO_SECTOR_ALIGNED 0x01 |
|
35 | 42 |
|
36 | 43 |
/* private */ |
37 | 44 |
TAILQ_ENTRY(qemu_paiocb) node; |
Also available in: Unified diff