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

From: Dave Young
Date: Mon Oct 18 2010 - 10:17:14 EST


On Mon, Oct 18, 2010 at 10:15 PM, Dave Young <hidave.darkstar@xxxxxxxxx> wrote:
> On Mon, Oct 18, 2010 at 10:13 PM, Avi Kivity <avi@xxxxxxxxxx> wrote:
>> ÂOn 10/18/2010 04:11 PM, Dave Young wrote:
>>>
>>> On Mon, Oct 18, 2010 at 10:06 PM, Avi Kivity<avi@xxxxxxxxxx> Â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.
>>
>> What boots fine? ÂThe guest?
>
> Yes the guest
>
>>
>>> The printk only happen once. So to make sure the result I retested
>>> several times, can not get the print as well.
>>
>> boot_cpu_has() is called only when the kvm module is inserted.
>
> Oh, then I need to test again.

I'm lucky, this time I can make sure has_nx = 0

after insmod, guest boot failed at the first test
>
>>
>> --
>> error compiling committee.c: too many arguments to function
>>
>>
>
>
>
> --
> Regards
> dave
>



--
Regards
dave
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/