[PATCH 3/4] vmx: Separate disk target name generation into a function