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
[email protected]
https://www.redhat.com/mailman/listinfo/libvirt-users

Reply via email to