[virt-tools-list] Using Virt_What on windows application

Eric Blake eblake at redhat.com
Tue Jul 31 19:41:13 UTC 2012


On 07/31/2012 01:28 PM, Juan Saba wrote:
> Dear People, I am software developer self-made that try to protect my work
> from installing on virtual machines and then distribute. 

Unfortunately, the primary audience of this list believes in Free
Software (as in freedom, not beer).  The very notion of writing software
that refuses to run in certain situations is anti-free, so you probably
won't get much sympathy for your goal.

> Is there a way to use Virt_What to stop my program is it trying to use on
> VM?

Nope.  The ideal hypervisor is one in which the fact that you are
running in a VM is transparent; while virt-what can generally make good
guesses about whether it is in a VM, it is documented up front that
there is no 100% reliable way to prove this.

That said, the fastest VMs happen to be the ones that _are_ aware that
they are virtual, so they can take advantage of hypercalls to the host
for closer cooperation and better overall efficiency, so virt-what will
usually get the right answer in most practical VM setups, provided that
virt-what has been ported to that particular guest OS.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20120731/6122a950/attachment.sig>


More information about the virt-tools-list mailing list