Re: [PATCH v4 01/10] Add helper to populate vhost-user message regions

2020-06-04 Thread Marc-André Lureau
On Thu, May 21, 2020 at 7:00 AM Raphael Norwitz wrote: > 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

[PATCH v4 01/10] Add helper to populate vhost-user message regions

2020-05-20 Thread Raphael Norwitz
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