Tracker item #3308802, was opened at 2011-05-28 09:25
Message generated for change (Comment added) made by mvanzin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=989708&aid=3308802&group_id=204462

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: checkvm
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Ed Swierk (eswierk)
Assigned to: Nobody/Anonymous (nobody)
Summary: VmCheck_IsVirtualWorld fails on ESXi guest

Initial Comment:
# vmware-checkvm
** Message: HOSTINFO: CPUID hypervisor bit is set, but no hypervisor vendor 
signature is present

** (process:1899): DEBUG: VmCheck_IsVirtualWorld: detected non-VMware 
hypervisor ().

Not running in a virtual machine.

---

Apparently the cpuid instruction for level 0x40000000 is not getting emulated 
correctly when invoked from userspace.

To verify this I wrote a test program that calls cpuid 0x40000000 and confirms 
that eax contains 0. However, if I modify the program to use the cpuid kernel 
module instead, eax contains 0x40000010.

I'm running a 32-bit Linux 2.6.38 guest on VMware ESXi 4.1.0. The server is an 
HP with an AMD Opteron 2214 HE CPU. Behavior is the same whether I configure 
the VM's CPU/MMU Virtualization setting to Automatic, Software or Hardware.


----------------------------------------------------------------------

>Comment By: Marcelo Vanzin (mvanzin)
Date: 2011-05-28 14:04

Message:
Tools are not really tested on ESXi guests, so YMMV. But try adding this at
the top of the main() function:

   iopl(3);

And see if it helps. (you may need to #include <sys/io.h>)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=989708&aid=3308802&group_id=204462

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
open-vm-tools-devel mailing list
open-vm-tools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open-vm-tools-devel

Reply via email to