[dpdk-dev] Fwd: CPU does not support x86-64 instruction set

Thomas Monjalon thomas.monjalon at 6wind.com
Tue Jun 24 10:21:04 CEST 2014


Welcome Alex.
Please, for future messages, try to answer below as explained here:
	http://dpdk.org/ml

2014-06-24 11:12, Alex Markuze:
> Thomas Monjalon <thomas.monjalon at 6wind.com> wrote:
> > 2014-06-23 15:42, Alex Markuze:
> > > Hi, I'm new to DPDK and Im trying to compile on a x86 Ubuntu 14.04
> > VM(KVM).
> > > And I'm getting this error:
> > >
> > > "error: CPU you selected does not support x86-64 instruction set"
> >
> > You should try "-cpu host" option of Qemu/KVM in order to have the full
> > instruction set of your host.
> 
> I've resolved the issue in a similar way by modifying the VM xml config
> file with this line
> <cpu mode='host-passthrough’/>.
> 
> I was wondering if a Makefile/.config solution exists w/o modifying an
> existing VM in cases where its not possible.
> I've tried to modify the .config file with 'CONFIG_RTE_MACHINE="native" ->
> CONFIG_RTE_MACHINE="x86-64"'
> But it didn't seem to matter (I didn't explore this much farther, I
> dint really try a clean build and didn't make sure that the .config file
> I've modified was read).

Not sure to understand what you want.
If you try to build DPDK for most of machines (including VM), you should set
	CONFIG_RTE_MACHINE="default"
in your .config file.

-- 
Thomas


More information about the dev mailing list