Hi David, On 2/16/2016 1:53 PM, David Marchand wrote: > On Wed, Feb 10, 2016 at 4:40 AM, Tetsuya Mukawa <mukawa at igel.co.jp> wrote: >> To work with qtest virtio-net PMD, virtual address that maps hugepages >> should be between (1 << 31) to (1 << 44). This patch adds one more option >> to map like this. Also all hugepages should consists of one file. >> Because of this, the option will work only when '--single-file' option is >> specified. > This patch is pure virtio stuff. > Please, rework this so that we have a generic api in eal (asking for a > free region could be of use for something else). > Then you can call this api from virtio pmd. > > If you need to pass options to virtio pmd, add some devargs for it. >
Seems it's hard to slip this option into --vdev="eth_qtest_virtio0..." from my side because memory initialization happens before vdev option is parsed. Can we make use of "--base-virtaddr" achieve the function of this option? Thanks, Jianfeng