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 /qemu-io.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 'qemu-io.c')
| -rw-r--r-- | qemu-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-io.c b/qemu-io.c index bd3bd16fdf..b4e5cc8fe6 100644 --- a/qemu-io.c +++ b/qemu-io.c @@ -61,7 +61,7 @@ static void *qemu_io_alloc(size_t len, int pattern) if (misalign) len += MISALIGN_OFFSET; - buf = qemu_memalign(512, len); + buf = qemu_blockalign(bs, len); memset(buf, pattern, len); if (misalign) buf += MISALIGN_OFFSET; |