[dpdk-dev] [PATCH v2] eal/x86: get hypervisor name

Stephen Hemminger stephen at networkplumber.org
Tue Jan 2 17:34:05 CET 2018


On Sat, 30 Dec 2017 23:47:23 +0100
Thomas Monjalon <thomas at monjalon.net> wrote:

> The CPUID instruction is catched by hypervisor which can return
> a flag indicating one is running, and its name.
> 
> Suggested-by: Stephen Hemminger <sthemmin at microsoft.com>
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> ---
> v2 changes:
> 	- remove C99 style declaration
> 	- move code in rte_hypervisor.* files
> 	- add a function to get the name string

Looks good to me.
What about Xen?


More information about the dev mailing list