zcalusic / sysinfo

Sysinfo is a Go library providing Linux OS / kernel / hardware system information.
MIT License
517 stars 91 forks source link

Add bhyve detection #2

Closed SvenDowideit closed 7 years ago

SvenDowideit commented 7 years ago

Heya,

thought I'd say hi, and tell you I swiped your code to make https://github.com/klauspost/cpuid/pull/14

The main reason I didn't just use your code, is that when RancherOS is bootstrapping, not quite enough of the OS is up, and this sysinfo fatal'd out. - cpuid was simpler. I'll circle back later though, as i'm not sure adding dmi to cpuid is the right thing to do.

zcalusic commented 7 years ago

Hello @SvenDowideit and thanks for your contribution!

LGTM 👍