« Previous | Next » 

Revision 36a13a53

ID36a13a53aece8efb9384e41b0e6dd200600e9033

Added by Dimitris Aragiorgis over 10 years ago

Do not abort if hotplug is not supported

This will be useful for an external entity using RAPI that
wants to do device modifications to instances.

The common use case for that is:
"I want to add a nic/disk to an instance. If it is running
then hotplug the device. If not, then just add it to config."

Another use case is that if we are unaware of the instance's
hypervisor: "I want do add a nic/disk to an instance and if
its hypervisor is KVM try to hotplug it."

For all those cases just print a warning in CheckPrereq and
disable any further hotplug related actions (and let modifications
take place after reboot).

Signed-off-by: Dimitris Aragiorgis <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences