On 07/08/2014 08:38, Christopher Barry wrote: > On Thu, 7 Aug 2014 07:53:09 +0900 > Carsten Haitzler (The Rasterman) <[email protected]> wrote: > >> On Wed, 6 Aug 2014 17:57:05 -0300 Gustavo Sverzut Barbieri >> <[email protected]> said:
>> is there a nice simple way to know you have a vbox virtual driver in >> the kernel and are a guest? i can put in something to veto it (eg >> something in /proc or /sys - some file that exists only inside vbox if >> the guest driver is there - i can put in a simple stat for it and >> avoid if there)? >> > > If I'm not mistaken, /proc/cpuinfo string output should say something > to the effect that's it's a vbox, but I don't have one to check to > know for sure... kvm vms say bochs as the vendor_id or model name > (IIRC). VBox does paravirtualization (usually) so those values are reported as the actual hardware on the host: # cat /proc/cpuinfo ... vendor_id : GenuineIntel ... model name : Intel(R) Core(TM) i7-4930MX CPU @ 3.00GHz -- Alan McKinnon [email protected] ------------------------------------------------------------------------------ Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk _______________________________________________ enlightenment-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-users
