|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 7 of 12] backport c240b9af599d20e06a58090366be682684b
Backport c240b9af599d20e06a58090366be682684bd8555 from qemu upstream:
Fix vectored aio bounce handling immediate errors (Avi Kivity)
---
diff -r 1a457d3e3071 block.c
--- a/block.c Fri Oct 02 13:38:46 2009 +0100
+++ b/block.c Fri Oct 02 13:39:04 2009 +0100
@@ -1414,6 +1414,11 @@
s->aiocb = bdrv_aio_read(bs, sector_num, s->bounce, nb_sectors,
bdrv_aio_rw_vector_cb, s);
}
+ if (!s->aiocb) {
+ qemu_vfree(s->bounce);
+ qemu_aio_release(s);
+ return NULL;
+ }
return &s->common;
}
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH 7 of 12] backport c240b9af599d20e06a58090366be682684bd8555,
Stefano Stabellini <=
|
|
|
|
|