Revert "bug 11239: add check for hypervisor type when deploy vm, no way to deploy a vm with hypervisor type None"

This reverts commit f1e66738bb252c20a9ec1b8dffc2fd24521458dc.
This commit is contained in:
Edison Su 2011-09-14 10:28:20 -07:00 committed by Edison Su
parent c94b45ef4a
commit 4ef20e91ed
1 changed files with 0 additions and 4 deletions

View File

@ -361,10 +361,6 @@ public class DeployVMCmd extends BaseAsyncCreateCmd {
throw new InvalidParameterValueException("Unable to find disk offering " + diskOfferingId);
}
}
if (getHypervisor() == HypervisorType.None) {
throw new InvalidParameterValueException("Unable to deploy vm with Hypervisor None");
}
UserVm vm = null;
if (getHypervisor() == HypervisorType.BareMetal) {