« Previous | Next » 

Revision 1ce72b33


Added by Dimitris Aragiorgis almost 12 years ago

Support hotplug NICs

Add --hotplug option for gnt-instance modify.

Add idx slot to NIC object that represents if it has been hotpluged
or not. If -1 then has been added without hotplug. If possitive it
is used for naming virtio-net-device and netdev (passed in kvm command
line and in hotplug commands via kvm monitor socket)

Every instance has a hotplugs slot that depicts the how many nics have
been sofar installed with hotplugging.

Modify cfgupgrade to support hotplug:
- Add hotplugs slot in instances and init it with 0
- Add idx slot in NICs and init it with -1 (nic not hotpluged)

Signed-off-by: Dimitris Aragiorgis <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences