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

Dave Young
2010-10-18T14:17:08Z

On Mon, Oct 18, 2010 at 10:15 PM, Dave Young <hidave.darkstar@gmail.com> wrote:
> On Mon, Oct 18, 2010 at 10:13 PM, Avi Kivity <avi@redhat.com> wrote:
>>  On 10/18/2010 04:11 PM, Dave Young wrote:
>>>
>>> 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.
>>
>> 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