buildvm uses vmdef not libvm as param