Re: [PATCH 1/2] KVM: VMX: Notify if VMX is already in use

From: Sasha Levin
Date: Wed Dec 07 2011 - 10:16:15 EST


On Wed, 2011-12-07 at 16:26 +0200, Avi Kivity wrote:
> On 12/07/2011 04:24 PM, Sasha Levin wrote:
> > >
> > > That's odd. IIRC when we discussed this with them, they were executing
> > > VMXON/VMXOFF dynamically. Looks like they changed this.
> > >
> > > Anyway, please adjust according to Joerg's comment (and add the word
> > > "using"), and I'll apply.
> >
> > I've seen it the day before I've sent those patches. vbox driver loaded,
> > kvm silently failed and rdmsr showed SVME turned on.
> >
> > Will resend.
>
> Ah, maybe they do it differently on AMD. Or they changed things.

I've grabbed their code just to see whats going on there and traced the
vmxon calls back to module init.

Are you sure it ever happened on-demand and not on init? If you are,
I'll actually build that module and give it a go :)

--

Sasha.

--
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/