Revision fd96bb35
ID | fd96bb354f8c423d7dd42aa9347496682a56683d |
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