@Deprecated
  public VM getVM(int n) {
    int size = vms.size();
    if (n >= size) {
      String s = "Cannot request VM " + n + ".  There are only " + size + " VMs on " + this;
      throw new IllegalArgumentException(s);

    } else {
      VM vm = vms.get(n);
      vm.makeAvailable();
      return vm;
    }
  }
Returns a VM that runs on this host

@param n A zero-based identifier of the VM
@return a VM that runs on this host
@throws IllegalArgumentException {@code n} is more than the number of VMs
@deprecated use the static methods in VM instead
geode-dunit/src/main/java/org/apache/geode/test/dunit/Host.java