diff options
author | JaeMan Park <jaeman@google.com> | 2021-10-14 16:56:31 +0900 |
---|---|---|
committer | JaeMan Park <jaeman@google.com> | 2021-10-14 16:56:31 +0900 |
commit | 8122ca0b01da720c849846756671b058a5075e5e (patch) | |
tree | acec819da789f17eed1d53e9576c870701432686 /wmediumd/inc/usfstl/vhostproto.h | |
parent | ff55e1cdb62c746be40deb13193d8a24222d1d0a (diff) | |
download | wmediumd-8122ca0b01da720c849846756671b058a5075e5e.tar.gz |
Change max memory region of vhost-user protocol
Current implementation of vhost-user protocol at
crosvm can send more than 2 memory region, but
vhost-user implementation at wmediumd(usfstl)
asserts it has at most 2 region. As described at
vhost-user protocol, change max memory region
count to 8.
Bug: 202511422
Test: lunch aosp_cf_x86_64_foldable-userdebug \
&& m PRODUCT_ENFORCE_MAC80211_HWSIM=true droid \
&& launch_cvd
Check if there is no wmediumd crash log at cuttlefish
launch log.
Change-Id: I76fd5898f39dec77c6f1091585d88b636a4b1b48
Diffstat (limited to 'wmediumd/inc/usfstl/vhostproto.h')
-rw-r--r-- | wmediumd/inc/usfstl/vhostproto.h | 2 |
1 files changed, 1 insertions, 1 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 */ |