| Branch: | Tag: | Revision:

root / lib @ bbc4783a

Name Size
  watcher 1.2 kB 6.1 kB 123.5 kB 106.2 kB 34.5 kB 121.7 kB 597.3 kB 4.3 kB 85 kB 57.7 kB 26.7 kB 10.8 kB 10.7 kB 79.2 kB 5.9 kB 61.1 kB 16.4 kB 26.1 kB 18.6 kB 6.2 kB 59.1 kB 2.5 kB 66.4 kB 66 kB 5.4 kB 9.6 kB 78.5 kB 25.9 kB 24.9 kB 6.3 kB 4.5 kB 11.5 kB 10.2 kB 13.2 kB 11.7 kB 7.4 kB 18.3 kB

Latest revisions

# Date Author Comment
bbc4783a 01/14/2013 02:22 pm Dimitris Aragiorgis

Hotplug: rpc support

Introduce new RPCs that eventually invoke hypervisor specific
hotplug functions.

Signed-off-by: Dimitris Aragiorgis <>

5f08864c 01/14/2013 02:22 pm Dimitris Aragiorgis

Hotplug: additions

Introduce new instance level slot dev_idxs: { "nics": 0, "disks": 0 }

nics/disks is an index used for device identification and naming.

During instance creation these indexes get initialized with the
number of devices the instance is started with....

a1848d13 01/14/2013 02:22 pm Dimitris Aragiorgis

Hotplug: KVM support

KVM >= 1.0 is needed.

Introduce new methods: HotAddNic/HotDelNic, HotAddDisk/HotDelDisk. All
of them use QEMU monitor interface for hotpluging.

If a device is hotplug-able it should have an index after which it gets
named from the hypervisor perspective (e.g. virtio-net-pci.%d % idx )....

33ca83e9 01/14/2013 02:22 pm Dimitris Aragiorgis

Config method UpdateDevIdx()

This is invoked just before a device is to be hotplugged. This
ensures no device naming duplication in the future.

Signed-off-by: Dimitris Aragiorgis <>

60a7335b 01/11/2013 06:16 pm Dimitris Aragiorgis

Add locking to _NetworkQuery

Make use of _GetNames() to get the final network UUIDs.
Get networks info after having aquired the locks. Refactor
the code to use new local variables:

- "network_uuids" returned from _GetNames()
- "all_networks" that are the latest network info...
e6ba3320 01/10/2013 03:11 pm Dimitris Aragiorgis

Add machine version in kvm runtime file

kvm -M ? returns the supported machines (e.g. pc-1.1).
Add _GetDefaultMachineVersion() function to get the default value.

Upon kvm runtime file creation (this is in _GenerateKVMRuntime() invoked
only in StartInstance()) append this info in kvm_cmd. During...

dbb4f850 01/09/2013 05:23 pm Guido Trotter

Remove fixed FIXME

This was fixed in stable-2.6, commit 053c356

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

23d95cff 01/09/2013 12:48 pm Bernardo Dal Seno

Unit tests for bdev and utils.lvm

Also amended a comment of a tested method.
The tests are for methods introduced in commit 63c73073 (LVM disk creation
uses dedicated PVs).

Signed-off-by: Bernardo Dal Seno <>
Reviewed-by: Michael Hanselmann <>

8d459129 01/07/2013 07:00 pm Michael Hanselmann

Add "use_locking" parameter to network query opcode

This was extracted from a patch by Dimitris Aragiorgis with the subject
“Add locking to _NetworkQuery”. The rest of the patch did no longer
apply and will require more work.

Signed-off-by: Michael Hanselmann <>...

19e1b715 12/27/2012 03:33 pm Iustin Pop

Return master ip script output in case of failure

Currently only the exit code is returned, which is somewhat pointless:
for failures, we already know it's ≠ 0, so we don't have enough
information (reported on the mailing list). By logging the output as
well (if any), the user will have more information available for...

View revisions

Also available in: Atom