Revision c96ead73
ID | c96ead73e46749c1f3f7534cc89544a301aa45cd |
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 <dimara@grnet.gr>
Files
- added
- modified
- copied
- renamed
- deleted