tools/xen-detect: return xen version
PATCH 1/1 tools/xen-detect: return xen version
check_for_xen() should return xen version rather than boolean true if signature XenVMM is found.
Signed-off-by Yu Zhiguo <[email protected]>
tools/misc/xen-detect.c +1 -1
@@ -69,7 +69,7 @@ found:cpuid (base +1 , &eax, &ebx, &ecx, &edx, pv_context); -return 1 ; +return eax; }static jmp_buf sigill_jmp;