| Branch: | Tag: | Revision:

root / lib @ ea54a0b9

Name Size
  watcher 1.2 kB 6.1 kB 123.5 kB 106.2 kB 34.5 kB 121.9 kB 600.4 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.4 kB 59.1 kB 2.5 kB 66.6 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
ea54a0b9 01/14/2013 02:22 pm Dimitris Aragiorgis

Compatibility patch for base64 encoded networks

Signed-off-by: Dimitris Aragiorgis <>

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 <>

21e77d7f 01/14/2013 02:22 pm Dimitris Aragiorgis

Hotplug: cmdlib support

Hotpluging is done by functions invoked by ApplyContainerMods(). In
order hotpluging to take place a --hotplug option must be passed.

Devices get assigned unique indexes derived from the ``dev_idxs``
instance slot.

In order initial devices of a VM to be hotplugable ``dev_idxs`` must be...

6a1e009c 01/14/2013 02:22 pm Dimitris Aragiorgis

Hotplug: client support

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

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 <>

View revisions

Also available in: Atom