Revision c5708931 lib/hypervisor/hv_base.py

b/lib/hypervisor/hv_base.py
563 563
      return "; ".join(msgs)
564 564
    else:
565 565
      return None
566

  
567
  def HotAddDevice(self, instance, dev_type, device, extra, seq):
568
    """Hot-add a device.
569

  
570
    """
571
    pass
572

  
573
  def HotDelDevice(self, instance, dev_type, device, extra, seq):
574
    """Hot-del a device.
575

  
576
    """
577
    pass
578

  
579
  def HotModDevice(self, instance, dev_type, device, extra, seq):
580
    """Hot-mod a device.
581

  
582
    """
583
    pass
584

  
585
  def HotplugSupported(self, instance, action, dev_type):
586
    """Whether hotplug is supported.
587

  
588
    Depends on instance's hvparam, the action. and the dev_type
589
    """
590
    raise NotImplementedError

Also available in: Unified diff