| Branch: | Tag: | Revision:

root / lib @ 061a6a1d

Name Size
  watcher 1.2 kB 6.1 kB 128.4 kB 110 kB 36.6 kB 136.6 kB 4.3 kB 88.5 kB 64.4 kB 26.7 kB 11.4 kB 9.2 kB 10.7 kB 79.7 kB 6 kB 61.1 kB 16.4 kB 17.9 kB 19.1 kB 7.9 kB 64.1 kB 68.2 kB 4.3 kB 66 kB 5.8 kB 9.6 kB 82.8 kB 26.3 kB 24.8 kB 6.8 kB 4.5 kB 11.5 kB 10.3 kB 13.2 kB 11.7 kB 7.4 kB 18.3 kB

Latest revisions

# Date Author Comment
061a6a1d 12/03/2013 03:42 pm Dimitris Aragiorgis

Add migration capabilities if supported

This just adds two monitor commands before migration
in order to optimize performance. If the migrate_set_capability
command is not supported nothing bad happens.

TODO: parse monitor output or introduce a method to find...

f6d4260c 12/03/2013 02:59 pm Dimitris Aragiorgis

SetDiskID before accept instance RPC

This is needed for disk entries inside config data without
physical_id slot.

Signed-off-by: Dimitris Aragiorgis <>

b4076d8a 12/03/2013 01:17 pm Dimitris Aragiorgis

Support reseting arbitrary params for ext disks

If param=default and the param already exists then we remove
it from params dict. This is stolen by GetUpdatedParams() which
is used for hvparams modification/inheritance.

This means that 'default' value is unaccepted for an arbitrary...

819f326b 12/03/2013 11:55 am Dimitris Aragiorgis

Override disk_cache hvp with disk param in ext

This is a hack that brings disk_cache hypervisor param
at disk level. This is supported only for disks of ext
template that allow arbitrary params. The corresponding
param that should be used is 'cache'.

Signed-off-by: Dimitris Aragiorgis <>

f8b4ec36 12/03/2013 11:55 am Dimitris Aragiorgis

Pass disk geometry in kvm command

Currently we allow this feature only for ext templates that
allow arbitrary params per disk. If both 'heads' and 'secs'
params are given then 'cyls' is calculated from the disk size.

TODO: export these params in IDISK_PARAMS since the can be...

5706396c 12/02/2013 07:41 pm Dimitris Aragiorgis

Export DISK_ID as the second part of logical_id

DISK_NAME already is exported and shows

Signed-off-by: Dimitris Aragiorgis <>

26e7a6c2 12/02/2013 06:16 pm Petr Pudlak

Lock group(s) when creating instances.

This is required to prevent race conditions such as removing a network
from a group and adding an instance at the same time. (See issue 621#2.)

Signed-off-by: Petr Pudlak <>

17e5dbd0 12/02/2013 06:00 pm Dimitris Aragiorgis

Do not override disk.params in case of ext

Commits 5dbee5e and cce4616 fix disk upgrades concerning params
slot. Since 2.7 params slot should be empty and gets filled
any time needed.

Still ext template allows passing arbitrary params per disk.
These params should be saved in config file for future use....

7a8d0d76 12/02/2013 04:56 pm Dimitris Aragiorgis

Allow modification of arbitrary params for ext

Signed-off-by: Dimitris Aragiorgis <>

11bd1fac 12/02/2013 12:36 pm Dimitris Aragiorgis

Export logical_id info to hooks env

Signed-off-by: Dimitris Aragiorgis <>

View revisions

Also available in: Atom