[Qemu-devel] [PATCH v4 13/21] raw-posix: Handle failure for potentially large allocations

2014-06-24 Thread Kevin Wolf
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 raw-posix block driver. Signed-off-by: Kevin Wolf Reviewed-by: Stefan Ha

Re: [Qemu-devel] [PATCH v4 13/21] raw-posix: Handle failure for potentially large allocations

2014-06-05 Thread Benoît Canet
The Thursday 05 Jun 2014 à 15:36:25 (+0200), Kevin Wolf wrote : > 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

[Qemu-devel] [PATCH v4 13/21] raw-posix: Handle failure for potentially large allocations

2014-06-05 Thread Kevin Wolf
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 raw-posix block driver. Signed-off-by: Kevin Wolf Reviewed-by: Stefan Ha