]> Git Repo - qemu.git/commit
Add helper to populate vhost-user message regions
authorRaphael Norwitz <[email protected]>
Thu, 21 May 2020 05:00:26 +0000 (05:00 +0000)
committerMichael S. Tsirkin <[email protected]>
Tue, 9 Jun 2020 18:18:04 +0000 (14:18 -0400)
commitece99091c2d0aeb23734289a50ef2ff4e0a08929
treee312ee1c247817535f707fd612abaff4b5aa1652
parent4bcad76f4c390f798198a9a93fbaa1a20d06b73e
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 <[email protected]>
Message-Id: <1588533678[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Marc-AndrĂ© Lureau <[email protected]>
hw/virtio/vhost-user.c
This page took 0.024797 seconds and 4 git commands to generate.