02/01/2018 17:34, Stephen Hemminger: > 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?
Xen is not supported in DPDK currently. So it will be handled as "unknown". Xen awareness can be added later with some driver support.