[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] tools/xen-detect: try sysfs node for obtaining guest type



On Thu, Jun 15, 2017 at 11:58:27AM +0200, Juergen Gross wrote:
> Instead of relying on cpuid instruction behaviour to tell which domain
> type we are just try asking the kernel via the appropriate sysfs node
> (added in Linux kernel 4.13).
> 
> Keep the old detection logic as a fallback for older kernels.
> 
> Signed-off-by: Juergen Gross <jgross@xxxxxxxx>

Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>

I only skim-read this patch. I agree with the general approach.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.