Skip to content

Commit

Permalink
4.2.6: Fix hypervisor report bug in hostcaps
Browse files Browse the repository at this point in the history
  • Loading branch information
DrDonk committed Apr 26, 2023
1 parent c170fc3 commit 6131478
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions commands/hostcaps/hostcaps.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ func waitExit() {
}

func main() {
fmt.Println("macOS Unlocker Host Capabilities")
fmt.Println("================================")
fmt.Println("VMware macOS Host Capabilities")
fmt.Println("==============================")
fmt.Println("")
fmt.Println("Host CPU")
fmt.Println("--------")
Expand All @@ -38,13 +38,11 @@ func main() {
if cpuid.CPU.Has(cpuid.HYPERVISOR) {
fmt.Println("\tHypervisor String:", cpuid.CPU.HypervisorString)
fmt.Println("\tHypervisor ID:", cpuid.CPU.HypervisorID)
if cpuid.CPU.HypervisorString != "VMwareVMware" {
fmt.Println("\tHypervisor found:")
fmt.Println("\t\t- CPUID masking may not work correctly")
fmt.Println("\t\t- Graphics speed may be affected")
}
}

if cpuid.CPU.HypervisorString != "VMwareVMware" {
fmt.Println("\tHypervisor found:")
fmt.Println("\t\t- CPUID masking may not work correctly")
fmt.Println("\t\t- Graphics speed may be affected")
}
waitExit()
return
}

0 comments on commit 6131478

Please sign in to comment.