Revision ec91c05d lib/hypervisor/hv_kvm.py

b/lib/hypervisor/hv_kvm.py
739 739
    if boot_order not in ('cdrom', 'disk'):
740 740
      raise errors.HypervisorError("The boot order must be 'cdrom' or 'disk'")
741 741

  
742
    if boot_order == 'cdrom' and not iso_path:
743
      raise errors.HypervisorError("Cannot boot from cdrom without an ISO path")
744

  
742 745
  def ValidateParameters(self, hvparams):
743 746
    """Check the given parameters for validity.
744 747

  

Also available in: Unified diff