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

[Xen-bugs] [Bug 1588] Need method for detecting vmxassist



http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1588





------- Comment #3 from konrad.wilk@xxxxxxxxxx  2010-03-18 07:42 -------
(In reply to comment #2)
> I know it is no longer used.  Either CPUID or DMI would work as a detection
> method, but I really need to know the exact things to look for.
> 


You need to do two steps:
1). CPUID, 0x40000000, check for %ebx for "XenV", ecx for 'MMXe", and edx for
'nVMM". If you get eax to be 0x40000006 and ebx 0x7263694d, ecx 0x666F736F, edx
0x76482074 then you are running under Windows PC virtualization product.

2). If it checks out that you are running under Xen, CPUID on 0x40000000 and
look in eax register. It is encoded this way:

 704         *eax = (xen_major_version() << 16) | xen_minor_version();

so the latest one is 40000

Hope this helps?


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs


 


Rackspace

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