correct function get_unmapped_vms