Re: [dpdk-dev] [PATCH 05/17] vhost: export guest memory regions

2017-03-14 Thread Maxime Coquelin
On 03/03/2017 10:51 AM, Yuanhan Liu wrote: Some vhost-user driver may need this info to setup its own page tables for GPA (guest physical addr) to HPA (host physical addr) translation. SPDK (Storage Performance Development Kit) is one example. Besides, by exporting this memory info, we could a

[dpdk-dev] [PATCH 05/17] vhost: export guest memory regions

2017-03-03 Thread Yuanhan Liu
Some vhost-user driver may need this info to setup its own page tables for GPA (guest physical addr) to HPA (host physical addr) translation. SPDK (Storage Performance Development Kit) is one example. Besides, by exporting this memory info, we could also export the gpa_to_vva() as an inline functi