Kevin Wolf b546a94474 dmg: 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 dmg block driver.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Benoit Canet <benoit@irqsave.net>
2014-08-15 15:07:15 +02:00
..
2014-06-16 17:23:21 +08:00
2014-07-15 15:34:13 +02:00
2014-06-26 13:51:01 +02:00
2014-08-15 15:07:14 +02:00
2014-04-01 15:22:35 +02:00
2014-06-16 17:23:21 +08:00
2014-06-16 17:23:21 +08:00
2014-06-16 17:23:21 +08:00
2014-08-15 15:07:14 +02:00
2014-08-15 15:07:14 +02:00
2014-08-15 15:07:14 +02:00
2014-08-15 15:07:14 +02:00
2014-08-15 15:07:14 +02:00
2014-06-16 17:23:21 +08:00