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

Avi Kivity
2010-10-18T13:26:36Z

On 10/18/2010 02:58 PM, Dave Young wrote:
> >
> > It's secondary_startup_64 enabling efer.sce and efer.nx.
> >
> > Dave, please post your /proc/cpuinfo. Is your host running with NX
> > disabled?
>
> I see nx bit in /proc/cpuinfo, Actually I don't know how to disable it.

Strange.

Please patch arch/x86/kvm/x86.c to printk efer_reserved_bits (a global),
efer (an argument) and old_efer (a local), and post the results.

--
error compiling committee.c: too many arguments to function