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
parent 2916270d8b
commit 79ca0bc66b
1 changed files with 0 additions and 4 deletions

View File

@ -373,10 +373,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) {