I have developed a C++ tool and I am the full copyright owner of the code. However the tool is dynamically linked to a gpl library. The whole source code of the tool is hosted on a virtual machine. In the virtual machine there are two users: root-user and standard-user. The source code is located in the root user.Now I would like to distribute the tool in a commercial way. The distribution model is the following: people can download the vm image for free, and use the tool in two ways: if you don't pay the license fee you are a standard-user and you can execute the code but you can't see the source code of the tool.if you pay the license fee, you are a root-user and hence you can read, execute, write, modify or recompile the code of the tool.Is it possible to distribute the vm in this way? 
Distribute virtual machine image with gpl code
licensing;gpl;distribution;software