diff options
author | Kevin Wolf <kwolf@redhat.com> | 2014-05-20 13:36:05 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-08-15 15:07:15 +0200 |
commit | 0df93305f21712e975ab5df260cc5a91e5daafca (patch) | |
tree | 1d6fd9a78b193db4025011a17478a4f56a9a843d /cpu-exec.c | |
parent | f7b593d93746ff1032a809542152212246e24fa7 (diff) |
qcow1: 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 qcow1 block driver.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'cpu-exec.c')
0 files changed, 0 insertions, 0 deletions