[dpdk-dev] [PATCH 3/6] lib_vhost: Set memory layout for multiple queues mode

2015-06-02 Thread Xie, Huawei
Is there any possibility that different queue has different memory translation? How about we use the memory region of the first queue discovered? On 5/21/2015 3:50 PM, Ouyang Changchun wrote: > QEMU sends separate commands orderly to set the memory layout for each queue > in one virtio device,

[dpdk-dev] [PATCH 3/6] lib_vhost: Set memory layout for multiple queues mode

2015-05-21 Thread Ouyang Changchun
QEMU sends separate commands orderly to set the memory layout for each queue in one virtio device, accordingly vhost need keep memory layout information for each queue of the virtio device. This also need adjust the interface a bit for function gpa_to_vva by introducing the queue index to specify