Re: [BUG] kvm: guest can not startup due to triple fault

Dave Young
2010-10-18T14:11:00Z

On Mon, Oct 18, 2010 at 10:06 PM, Avi Kivity <avi@redhat.com> wrote:
>  On 10/18/2010 03:58 PM, Dave Young wrote:
>>
>> >
>> >  Please patch hardware_setup() to show the value of
>> >  boot_cpu_has(X86_FEATURE_NX).
>>
>> It's 0

Please wait, I reply too quick, actually it boots two times fine then
one time fail.

The printk only happen once. So to make sure the result I retested
several times, can not get the print as well.

>
> Well, that's ridiculous.  Looking back at your /proc/cpuinfo:
>
>> processor       : 0
>> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
>> cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall lm
>> constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor
>> ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm ida dts tpr_shadow vnmi
>> flexpriority
>>
>> processor       : 1
>> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
>> cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm
>> constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor
>> ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm ida dts tpr_shadow vnmi
>> flexpriority
>
> processor 0 doesn't have nx.
>
> Ingo, Peter, any ideas?  Where did the missing feature go?
>
> --
> error compiling committee.c: too many arguments to function
>
>

--
Regards
dave