On 07.01.2016 14:44, Paolo Bonzini wrote: > The amount of memory allocated in nbd_co_receive_request is driven by the > NBD client (possibly a virtual machine). Parallel I/O can cause the > server to allocate a large amount of memory; check for failures and > return ENOMEM in that case. > > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > --- > block/block-backend.c | 5 +++++ > include/sysemu/block-backend.h | 1 + > nbd.c | 6 +++++- > 3 files changed, 11 insertions(+), 1 deletion(-)
Reviewed-by: Max Reitz <mre...@redhat.com>
signature.asc
Description: OpenPGP digital signature