mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
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@suse.com>