On Sat, 30 Dec 2017 23:47:23 +0100 Thomas Monjalon <tho...@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 <sthem...@microsoft.com> > Signed-off-by: Thomas Monjalon <tho...@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?