source/Application/Model/Diagnostics.php
protected function _getVirtualizationSystem()
    {
        $sSystemType = '';

        if ($this->isExecAllowed()) {
            //VMWare
            @$sDeviceList = $this->_getDeviceList('vmware');
            if ($sDeviceList) {
                $sSystemType = 'VMWare';
                unset($sDeviceList);
            }

            //VirtualBox
            @$sDeviceList = $this->_getDeviceList('VirtualBox');
            if ($sDeviceList) {
                $sSystemType = 'VirtualBox';
                unset($sDeviceList);
            }
        }

        return $sSystemType;
    }
protected function _getVirtualizationSystem()
    {
        $sSystemType = '';

        if ($this->isExecAllowed()) {
            //VMWare
            @$sDeviceList = $this->_getDeviceList('vmware');
            if ($sDeviceList) {
                $sSystemType = 'VMWare';
                unset($sDeviceList);
            }

            //VirtualBox
            @$sDeviceList = $this->_getDeviceList('VirtualBox');
            if ($sDeviceList) {
                $sSystemType = 'VirtualBox';
                unset($sDeviceList);
            }
        }

        return $sSystemType;
    }
protected function _getVirtualizationSystem ( ) { $ sSystemType = '' ; if ( $ this -> isExecAllowed ( ) ) { //VMWare @ $ sDeviceList = $ this -> _getDeviceList ( 'vmware' ) ; if ( $ sDeviceList ) { $ sSystemType = 'VMWare' ; unset ( $ sDeviceList ) ; } //VirtualBox @ $ sDeviceList = $ this -> _getDeviceList ( 'VirtualBox' ) ; if ( $ sDeviceList ) { $ sSystemType = 'VirtualBox' ; unset ( $ sDeviceList ) ; } } return $ sSystemType ; }
Tries to find out which VM is used

@return string
Tries to find out which VM is used