Home
last modified time | relevance | path

Searched hist:"8 dc7a772" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/block/
H A Dcurl.c8dc7a772 Tue May 20 06:26:40 CDT 2014 Kevin Wolf <kwolf@redhat.com> curl: Handle failure for potentially large allocations

Some code in the block layer makes potentially huge allocations. Failure
is not completely unexpected there, so avoid aborting qemu and handle
out-of-memory situations gracefully.

This patch addresses the allocations in the curl block driver.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Benoit Canet <benoit@irqsave.net>