diff options
author | Kevin Wolf <kwolf@redhat.com> | 2014-05-21 18:08:38 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-08-15 15:07:16 +0200 |
commit | 5fb09cd5867aabf26d5b85b0913dccd496b71421 (patch) | |
tree | 3ca9d2389f1f24135a643f4fa9c01532cc67b9c3 /nbd.c | |
parent | d6e5993197990ff55c660714526681fa7028299e (diff) |
vpc: 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 vpc block driver.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Benoit Canet <benoit@irqsave.net>
Diffstat (limited to 'nbd.c')
0 files changed, 0 insertions, 0 deletions