fix build

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
This commit is contained in:
2015-11-09 09:08:44 +00:00
parent d407b82968
commit 414957d985
55 changed files with 35 additions and 77 deletions

View File

@@ -0,0 +1,15 @@
package vmcheck
import (
"github.com/sigma/vmw-guestinfo/bridge"
)
// IsVirtualWorld returns whether the code is running in a VMware virtual machine or no
func IsVirtualWorld() bool {
return bridge.VMCheckIsVirtualWorld()
}
// GetVersion returns the hypervisor version
func GetVersion() (version uint32, typ uint32) {
return bridge.VMCheckGetVersion()
}