]> www.infradead.org Git - users/dwmw2/linux.git/commit
um: virtio_uml: send SET_MEM_TABLE message with the exact size
authorBenjamin Berg <benjamin.berg@intel.com>
Sun, 3 Nov 2024 21:28:51 +0000 (22:28 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 7 Nov 2024 16:39:57 +0000 (17:39 +0100)
commitfcbd26d33dfa40496b6d82973bc49f95e6df21f9
treec3c4d5a06e1f6b0683e5e596404f3d646b1ffcef
parentce6e85a186c28ab0ca024580cba93fa19147c72b
um: virtio_uml: send SET_MEM_TABLE message with the exact size

The rust based userspace vhost devices are very strict and will not
accept the message if it is longer than required. So, only include the
data for the first memory region.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Link: https://patch.msgid.link/20241103212854.1436046-2-benjamin@sipsolutions.net
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
arch/um/drivers/virtio_uml.c