diff options
author | Raphael Norwitz <raphael.norwitz@nutanix.com> | 2020-05-21 05:00:26 +0000 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-06-09 14:18:04 -0400 |
commit | ece99091c2d0aeb23734289a50ef2ff4e0a08929 (patch) | |
tree | e312ee1c247817535f707fd612abaff4b5aa1652 /include | |
parent | 4bcad76f4c390f798198a9a93fbaa1a20d06b73e (diff) | |
download | qemu-ece99091c2d0aeb23734289a50ef2ff4e0a08929.zip |
Add helper to populate vhost-user message regions
When setting vhost-user memory tables, memory region descriptors must be
copied from the vhost_dev struct to the vhost-user message. To avoid
duplicating code in setting the memory tables, we should use a helper to
populate this field. This change adds this helper.
Signed-off-by: Raphael Norwitz <raphael.norwitz@nutanix.com>
Message-Id: <1588533678-23450-2-git-send-email-raphael.norwitz@nutanix.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions