klauspost / cpuid

CPU feature identification for Go
MIT License
1.01k stars 125 forks source link

Request: Virtualbox #13

Open bitnom opened 7 years ago

bitnom commented 7 years ago

Assuming it's trivial, can you please add virtualbox support?

Thanks.

SvenDowideit commented 7 years ago

@TomAshley303 do you mean "detect that we're in a hypervisor, and tell me which one?"

cos I'm adding cpuid.CPU.HypervisorName afm for something I need. (PR today unless something comes up)

SvenDowideit commented 7 years ago

ah, darn, #14 adds some support, but VirtualBox and qemu need DMI support, not just cpuid - so it might not make sense to add the complexity here.