1 |
On Thursday 11 April 2013 06:33:17 PM IST, Nikos Chantziaras wrote: |
2 |
> On 09/04/13 06:50, Nilesh Govindrajan wrote: |
3 |
>> [...] |
4 |
>> This is the /proc/cpuinfo: |
5 |
>> |
6 |
>> processor : 0 |
7 |
>> vendor_id : GenuineIntel |
8 |
>> cpu family : 6 |
9 |
>> model : 2 |
10 |
>> model name : QEMU Virtual CPU version 1.0 |
11 |
>> |
12 |
>> [...] |
13 |
>> Any idea what should be the march/mtune value? |
14 |
> |
15 |
> Your best bet is to ask this on the qemu mailing list. |
16 |
> |
17 |
> |
18 |
|
19 |
Probably not. I learned from the qemu wiki that it can emulate various |
20 |
kinds of processors. |
21 |
So, they're probably sticking with Intel inside guests irrespective of |
22 |
the host. |
23 |
Also it is a gcc/qemu bug that the CPU is detected as pentium m. As |
24 |
someone posted earlier, gcc 4.4 gives core2. |
25 |
But actually, even that's wrong. I changed the flag and ended up |
26 |
getting illegal instruction for many. |
27 |
|
28 |
Thankfully I tried that on a new machine. |
29 |
|
30 |
Presently installing Gentoo 32 bit on that new VM with -march=i686 |
31 |
-mtune=native and it's working great. |