Revision 860bf930 lib/hypervisor/hv_base.py

b/lib/hypervisor/hv_base.py
538 538
      return "; ".join(msgs)
539 539
    else:
540 540
      return None
541

  
542
  def HotAddDevice(self, instance, dev_type, device, extra, seq):
543
    """Hot-add a device.
544

  
545
    """
546
    pass
547

  
548
  def HotDelDevice(self, instance, dev_type, device, extra, seq):
549
    """Hot-del a device.
550

  
551
    """
552
    pass
553

  
554
  def HotModDevice(self, instance, dev_type, device, extra, seq):
555
    """Hot-mod a device.
556

  
557
    """
558
    pass
559

  
560
  def HotplugSupported(self, instance, action, dev_type):
561
    """Whether hotplug is supported.
562

  
563
    Depends on instance's hvparam, the action. and the dev_type
564
    """
565
    raise NotImplementedError

Also available in: Unified diff