« Previous | Next » 

Revision 7db0ca2a

ID7db0ca2a9f20d1a33c9a30a726c7a4c7c28711e3

Added by Dimitris Aragiorgis over 10 years ago

(kvm) Hotplug a device found only in config.data

A device can be added only in config.data by omitting `--hotplug`
option. With this patch we allow this device to be hot-plugged
in the future by issuing `gnt-instance modify --net <index>: --hotplug`
command. HotModDevice() will search the runtime entry of the device
which will raise HoptlugError because it will be not present.
We catch this error and hot-add the device on an available PCI
slot.

Signed-off-by: Dimitris Aragiorgis <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences