From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: Fwd: CPU does not support x86-64 instruction set Date: Tue, 24 Jun 2014 10:21:04 +0200 Message-ID: <28645484.qtAJ9e2qr1@xps13> References: Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Cc: dev-VfR2kkLFssw@public.gmane.org To: Alex Markuze Return-path: In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" Welcome Alex. Please, for future messages, try to answer below as explained here: =09http://dpdk.org/ml 2014-06-24 11:12, Alex Markuze: > Thomas Monjalon wrote: > > 2014-06-23 15:42, Alex Markuze: > > > Hi, I'm new to DPDK and Im trying to compile on a x86 Ubuntu 14.0= 4 > > 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. >=20 > I've resolved the issue in a similar way by modifying the VM xml conf= ig > file with this line > . >=20 > I was wondering if a Makefile/.config solution exists w/o modifying a= n > existing VM in cases where its not possible. > I've tried to modify the .config file with 'CONFIG_RTE_MACHINE=3D"nat= ive" -> > CONFIG_RTE_MACHINE=3D"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 f= ile > 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 shoul= d set =09CONFIG_RTE_MACHINE=3D"default" in your .config file. --=20 Thomas