Statistics
| Branch: | Tag: | Revision:

root @ 6b614440

Name Size
  autotools
  daemons
  devel
  doc
  lib
  man
  qa
  src
  test
  tools
.ghci 21 Bytes
.gitignore 2.3 kB
COPYING 17.6 kB
INSTALL 10.8 kB
Makefile.am 61.5 kB
NEWS 110.5 kB
README 189 Bytes
UPGRADE 10.7 kB
autogen.sh 283 Bytes
configure.ac 24.7 kB
epydoc.conf.in 444 Bytes
pylintrc 2.8 kB

Latest revisions

# Date Author Comment
6b614440 11/13/2013 01:24 am Dimitris Aragiorgis

drive_del after device_del in disk hot-remove

This is needed so that qemu process really releases the
corresponding file descriptor and thus we can dmsetup/lvremove
the device without errors.

Signed-off-by: Dimitris Aragiorgis <>

55061f27 11/13/2013 01:24 am Dimitris Aragiorgis

Some fixes in _GenerateKVMBlockDevicesOptions()

  • Add docstring.
  • fix missed usecase of boot_disk=False if kernel_path is given.
  • Use devlist arg in GenerateKVMBlockDeviceOptions()
    This is previously calculated in _ExecuteKVMRuntime()
    so there is no need to rerun the same command....
2209788e 11/13/2013 01:24 am Dimitris Aragiorgis

Use blockdev_assemble rpc directly before hotplug

AssebleInstanceDisks() if invoked with primary=True and disk=[disk]
creates wrong symbolic links!

Before blockdev_assemble we call SetDiskID() in order to fill up
physical_id of disk needed by bdev.Assemble and eventually by...

139c240c 11/08/2013 10:12 am Dimitris Aragiorgis

Add finally: mosock.close() in _PassFds

Signed-off-by: Dimitris Aragiorgis <>

f8518517 11/08/2013 10:12 am Dimitris Aragiorgis

Add hotplug option in OpInstanceSetParams opcode

Signed-off-by: Dimitris Aragiorgis <>

9b4b2f5c 11/08/2013 10:12 am Dimitris Aragiorgis

Hotplug: cfgupgrade for deprecated fields

Add cfgupgrade so that we remove any deprecated fields hotplug
implementation used in the past.

Signed-off-by: Dimitris Aragiorgis <>

229c9008 11/08/2013 10:12 am Dimitris Aragiorgis

Hotplug: Update manpages and NEWS

Add --hotplug entry in gnt-instance manpage.
Add NEWS entry for hotplug support.
In both cases mention that hotplug is only supported only the
the KVM Hypervisror and for versions >= 1.0.

Signed-off-by: Dimitris Aragiorgis <>

5b0ec494 11/08/2013 10:12 am Dimitris Aragiorgis

Hotplug: client support

Add --hotplug option. Only used in OpInstanceSetParams.
If this is omitted, modifications become effective after reboot.

Ask user confirmation in case NIC modify + hotplug because it will
be done via removing old NIC (and the corresponding tap) and adding...

c7c09ffa 11/08/2013 10:11 am Dimitris Aragiorgis

Hotplug: cmdlib support

Hotpluging is done by functions invoked by ApplyContainerMods(). In
order hotpluging to take place the --hotplug option must be passed
otherwise the modifications will take place after reboot.

NIC hotplug supports add, remove and modify. The modify is done by removing...

8eebdaa7 11/08/2013 10:11 am Dimitris Aragiorgis

Hotplug: rpc support

Introduce new RPC that eventually invoke hypervisor specific
hotplug functions. In order to be generic it has the following
arguments: device type, action, device, extra info, seq.
Device type can be NIC or DISK, action can be ADD, REMOVE,...

View all revisions | View revisions

Also available in: Atom