-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detect xhyve/bhyve guest #47
Comments
This makes sense as these two new hypervisors use libvirt like qemu does. It'd be easiest of they loaded a custom kernel module that I could look for but I don't think they do. I'm open to suggestions. Maybe there's a secret file in /sys or /proc that could be informative here. |
Does this makes some sense?
|
Yes, checking if that one of those files exists and has the name of the hypervisor in it would definitely make sense. |
Yeah, but it doesn't seem good enough as this is taken from an xhyve Guest. (actually it is on a container from Docker for mac) |
Yeah I recall a PR on the xhyve project to make it identify itself as xhyve not bhyve |
Maybe see if xhyve is written anywhere |
At least not in |
That makes sense. Would you be able to make a PR for this? |
^ |
^ |
Hi sorry for late comment, but I think you could guess that yourself already that I currently have no time to spend on this. Could you please do it yourself? It doesn't seem a lot of work. |
Linfo detects guest of xhyve and bhyve as being QEMU/KVM.
This seems to be a generic problem as I have found tickets for Salt and Puppet/facter that state the same also.
The text was updated successfully, but these errors were encountered: