Tagged licensing on virtual machines