On Thursday 11 April 2013 06:33:17 PM IST, Nikos Chantziaras wrote:
On 09/04/13 06:50, Nilesh Govindrajan wrote:
[...]
This is the /proc/cpuinfo:

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 2
model name      : QEMU Virtual CPU version 1.0

[...]
Any idea what should be the march/mtune value?

Your best bet is to ask this on the qemu mailing list.



Probably not. I learned from the qemu wiki that it can emulate various kinds of processors. So, they're probably sticking with Intel inside guests irrespective of the host. Also it is a gcc/qemu bug that the CPU is detected as pentium m. As someone posted earlier, gcc 4.4 gives core2. But actually, even that's wrong. I changed the flag and ended up getting illegal instruction for many.

Thankfully I tried that on a new machine.

Presently installing Gentoo 32 bit on that new VM with -march=i686 -mtune=native and it's working great.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to