Re: [visorchipset] invalid opcode: 0000 [#1] PREEMPT SMP

From: Romer, Benjamin M
Date: Fri Apr 11 2014 - 13:52:08 EST


On Fri, 2014-04-11 at 10:40 -0700, H. Peter Anvin wrote:
> On 04/11/2014 10:35 AM, Jet Chen wrote:
> >
> > As Peter said, QEMU probably should *not* set the hypervisor bit. But based on my testing, I think KVM works properly in this case.
> >
>
> Either way, unless there is a CPUID interface exposed in CPUID levels
> 0x40000000+, then relying on the hypervisor bit to do VMCALL is wrong in
> the extreme.
>
> -hpa
>
>

I'll pass your feedback on to the people who wrote the bad code. Sorry
for the trouble. :)

-- Ben