Re: State of current pv_ops backend for KVM?

Anthony Liguori
2007-05-30T18:20:32Z

Zachary Amsden wrote:
>> VMI can determine that it's under VMware since VMware has to publish
>> an option ROM. It's quite neat, but overkill for what we're doing
>> (since we're not going to be using a ROM anyway).
>
> The near to being blessed way to do this is to use a CPUID leaf (I
> believe it is 0x40000000) to identify the hypervisor. I don't have
> the exact details, but making CPUID 0x40000000 return 'KVMKVMKVMKVM'
> sounds like a pretty safe detection technique.

I apparently missed the memo :-) I'll update the patch.

Regards,

Anthony Liguori

> We're probably dropping the ROM probing in favor of this for 64-bit.

> Zach