From ceb3328261f22e3ad79a31e03158ec2c4224260b Mon Sep 17 00:00:00 2001 From: Chris Cottam Date: Thu, 18 Jan 2018 16:52:24 +0000 Subject: [PATCH] increasing the NBD max size to see if it fixes an issue with qemu-2.11.0 --- src/common/nbdtypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/nbdtypes.h b/src/common/nbdtypes.h index 49139c4..6e1b124 100644 --- a/src/common/nbdtypes.h +++ b/src/common/nbdtypes.h @@ -16,7 +16,7 @@ /* 1MiB is the de-facto standard for maximum size of header + data */ -#define NBD_MAX_SIZE ( 1024 * 1024 ) +#define NBD_MAX_SIZE ( 16 * 1024 * 1024 ) #define NBD_REQUEST_SIZE ( sizeof( struct nbd_request_raw ) ) #define NBD_REPLY_SIZE ( sizeof( struct nbd_reply_raw ) )