Re: Check whether we are runnig on a KVM guest

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 25.08.2015 11:53, Jean-Pierre Ribeauville wrote:
> Hi,
> 
> How may I , via  a C program ,  check whether I'm running on a KVM guest  ?
> 
> May I use the same API on Windows and Linux Guest ?

I don't think there's gonna be a single API. After all, hypervisors tend
to hide the fact that you're running in virtualized environment. But
fortunately, Rich has written a script just for what you're asking:

  http://people.redhat.com/~rjones/virt-what/

Michal

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users



[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux