Statistics
| Branch: | Tag: | Revision:

root / lib / hypervisor @ c07f38e1

Name Size
__init__.py 2 kB
hv_base.py 16.5 kB
hv_chroot.py 10.2 kB
hv_fake.py 10.2 kB
hv_kvm.py 81.4 kB
hv_lxc.py 14.6 kB
hv_xen.py 31.3 kB

Latest revisions

# Date Author Comment
c07f38e1 06/17/2013 02:00 pm Dimitris Aragiorgis

Make NIC setup more flexible in case of Xen

For every NIC write down a file that contains NIC's
info (MAC, mode, link, network details), that can
be sourced by any vif script. The file location is:
/var/run/ganeti/xen-hypervisor/nic/<domname>/<nicidx>.
...

c9ff267c 01/14/2013 01:34 pm Dimitris Aragiorgis

Add KVM machine version as hv param

This is needed in case an instance must be booted with an exact type of
machine version (due to e.g. outdated drivers). If this hv param
explicitly defined (during instance creation/modification) then the kvm
process will be started having this version for the -M option. Otherwise...

5e8807cc 01/11/2013 03:47 pm Constantinos Venetsanopoulos

Merge remote branch 'google/stable-2.6' into stable-2.6-ippool-hotplug-esi

c12e30ca 01/09/2013 05:21 pm Guido Trotter

Remove fixed FIXME

This was fixed in stable-2.6, commit 053c356

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

fdbc5d2f 01/08/2013 07:08 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...

6f2a81cd 12/22/2012 04:54 pm Dimitris Aragiorgis

Merge branch 'stable-2.6' into stable-2.6-ippool-hotplug-esi

2ccfc35a 11/30/2012 07:24 pm Dimitris Aragiorgis

Merge branch 'stable-2.6-hotplug' into stable-2.6-ippool-hotplug-esi

7ed9f1ba 11/30/2012 07:24 pm Dimitris Aragiorgis

Fix a minor bug in hypervisor

Signed-off-by: Dimitris Aragiorgis <>

88e9b27f 11/27/2012 08:36 pm Dimitris Aragiorgis

Merge branch 'stable-2.6-hotplug' into stable-2.6-ippool-hotplug-esi

Conflicts:
lib/cmdlib.py
tools/cfgupgrade

Signed-off-by: Dimitris Aragiorgis <>

2435f63b 11/26/2012 12:49 pm Dimitris Aragiorgis

Refactor hotplug implementation

Remove pci_pool from hotplug_info. Hypervisor decides the pci slot
based on current occupations.

Signed-off-by: Dimitris Aragiorgis <>

View revisions

Also available in: Atom