diff options
-rw-r--r-- | wmediumd/inc/usfstl/vhostproto.h | 2 | ||||
-rw-r--r-- | wmediumd/lib/vhost.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/wmediumd/inc/usfstl/vhostproto.h b/wmediumd/inc/usfstl/vhostproto.h index 8e7a76e..3c5c2db 100644 --- a/wmediumd/inc/usfstl/vhostproto.h +++ b/wmediumd/inc/usfstl/vhostproto.h @@ -6,7 +6,7 @@ #ifndef _USFSTL_VHOST_PROTO_H_ #define _USFSTL_VHOST_PROTO_H_ -#define MAX_REGIONS 2 +#define MAX_REGIONS 8 /* these are from the vhost-user spec */ diff --git a/wmediumd/lib/vhost.c b/wmediumd/lib/vhost.c index 7db183f..d6ad1b1 100644 --- a/wmediumd/lib/vhost.c +++ b/wmediumd/lib/vhost.c @@ -20,7 +20,7 @@ /* copied from uapi */ #define VIRTIO_F_VERSION_1 32 -#define MAX_REGIONS 2 +#define MAX_REGIONS 8 #define SG_STACK_PREALLOC 5 struct usfstl_vhost_user_dev_int { |