Skip to content

Commit

Permalink
dpdk: Use --no-shconf on OSv
Browse files Browse the repository at this point in the history
DPDK does not work without --no-shconf on OSv, we need to add it.

Signed-off-by: Takuya ASADA <[email protected]>
  • Loading branch information
syuu1228 authored and avikivity committed Apr 19, 2015
1 parent 8318936 commit db93ae8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/dpdk_rte.cc
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ void eal::init(cpuset cpus, boost::program_options::variables_map opts)
} else if (!opts.count("dpdk-pmd")) {
args.push_back(string2vector("--no-huge"));
}
#ifdef HAVE_OSV
args.push_back(string2vector("--no-shconf"));
#endif

std::vector<char*> cargs;

Expand Down

0 comments on commit db93ae8

Please sign in to comment.