VirtualMachineManager vmm = gm_.searchVmWithMoref(morefOfNewVm);
if (vmm == null) {
throw new Exception("Could not find newly created vm.");
}
vmm.addEmptyDisks(vcmList);
vmm.reload(); /* reload to get information of added disks
for the next step. */
{
int numDisks = 0;
for (VirtualControllerManager vcm : vcmList) {
numDisks += vcm.getNumOfDisks();