Re: [RFC] CPUID usage for interaction between Hypervisors and Linux.

From: H. Peter Anvin
Date: Wed Oct 01 2008 - 13:49:59 EST


Alok Kataria wrote:

Hi Peter,

Its not a user who has to do anything special here.
There are *intelligent* VM developers out there who can export a
different CPUid interface depending on the guest OS type. And this is
what most of the hypervisors do (not necessarily for CPUID, but for
other things right now).


It doesn't matter, really; it's still the wrong thing to do, for the same reason it's the wrong thing in -- for example -- ACPI, which has similar "cleverness".

If we want to have a "Linux standard CPUID interface" suite we should just put them on a different set of numbers and let a hypervisor export all the interfaces.

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