WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-bugs

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

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 1588] Need method for detecting vmxassist
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Thu, 18 Mar 2010 07:42:36 -0700
Delivery-date: Thu, 18 Mar 2010 07:42:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <bug-1588-3@xxxxxxxxxxxxxxxxxxxxxxxxxxx/bugzilla/>
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
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