Revision 3ae003d8 lib/hypervisor/hv_base.py

b/lib/hypervisor/hv_base.py
543 543
      return "; ".join(msgs)
544 544
    else:
545 545
      return None
546

  
547
  def HotAddDevice(self, instance, dev_type, device, extra, seq):
548
    """Hot-add a device.
549

  
550
    """
551
    pass
552

  
553
  def HotDelDevice(self, instance, dev_type, device, extra, seq):
554
    """Hot-del a device.
555

  
556
    """
557
    pass
558

  
559
  def HotModDevice(self, instance, dev_type, device, extra, seq):
560
    """Hot-mod a device.
561

  
562
    """
563
    pass
564

  
565
  def HotplugSupported(self, instance, action, dev_type):
566
    """Whether hotplug is supported.
567

  
568
    Depends on instance's hvparam, the action. and the dev_type
569
    """
570
    raise NotImplementedError

Also available in: Unified diff