diff options
| author | Anthony Liguori <aliguori@us.ibm.com> | 2010-09-21 17:50:58 -0500 |
|---|---|---|
| committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-09-21 17:50:58 -0500 |
| commit | e1bb0a1a6c7c6d51443856ca90bd538b1ef5feeb (patch) | |
| tree | ec271a0d224608382eb146d68298fd9e9fd0d3c9 /posix-aio-compat.c | |
| parent | f36d53ef6cb848d5cf204b0854b12e0359f0fd7e (diff) | |
| parent | d9d334176c5dba23b47be07192f431b0c030928d (diff) | |
| download | focaccia-qemu-e1bb0a1a6c7c6d51443856ca90bd538b1ef5feeb.tar.gz focaccia-qemu-e1bb0a1a6c7c6d51443856ca90bd538b1ef5feeb.zip | |
Merge remote branch 'kwolf/for-anthony' into staging
Diffstat (limited to 'posix-aio-compat.c')
| -rw-r--r-- | posix-aio-compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/posix-aio-compat.c b/posix-aio-compat.c index 10f1f037fb..842f1a24aa 100644 --- a/posix-aio-compat.c +++ b/posix-aio-compat.c @@ -270,7 +270,7 @@ static ssize_t handle_aiocb_rw(struct qemu_paiocb *aiocb) * Ok, we have to do it the hard way, copy all segments into * a single aligned buffer. */ - buf = qemu_memalign(512, aiocb->aio_nbytes); + buf = qemu_blockalign(aiocb->common.bs, aiocb->aio_nbytes); if (aiocb->aio_type & QEMU_AIO_WRITE) { char *p = buf; int i; |