Subversion Repositories ALCASAR

Rev

Rev 3100 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 3100 Rev 3179
Line 842... Line 842...
842
                'VMwareVMware' => 'vmware', // VMware
842
                'VMwareVMware' => 'vmware', // VMware
843
                'XenVMMXenVMM' => 'xen', // Xen hypervisor
843
                'XenVMMXenVMM' => 'xen', // Xen hypervisor
844
                'ACRNACRNACRN' => 'acrn', // ACRN hypervisor
844
                'ACRNACRNACRN' => 'acrn', // ACRN hypervisor
845
                'TCGTCGTCGTCG' => 'qemu', // QEMU
845
                'TCGTCGTCGTCG' => 'qemu', // QEMU
846
                'QNXQVMBSQG' => 'qnx', // QNX hypervisor
846
                'QNXQVMBSQG' => 'qnx', // QNX hypervisor
847
                'VBoxVBoxVBox' => 'oracle' // Oracle VM VirtualBox
847
                'VBoxVBoxVBox' => 'oracle', // Oracle VM VirtualBox
-
 
848
                'SRESRESRESRE' => 'sre' // LMHS SRE hypervisor
848
            );
849
            );
849
            $shortvendorid = trim(preg_replace('/[\s!\.]/', '', $vendor_data));
850
            $shortvendorid = trim(preg_replace('/[\s!\.]/', '', $vendor_data));
850
            if (($shortvendorid !== "") && isset($vidarray[$shortvendorid])) {
851
            if (($shortvendorid !== "") && isset($vidarray[$shortvendorid])) {
851
                return $vidarray[$shortvendorid];
852
                return $vidarray[$shortvendorid];
852
            }
853
            }