Statistics
| Branch: | Tag: | Revision:

root / lib / hypervisor @ 58e4df3c

Name Size
  hv_kvm
__init__.py 2 kB
hv_base.py 23.6 kB
hv_chroot.py 11.1 kB
hv_fake.py 10.9 kB
hv_lxc.py 16.1 kB
hv_xen.py 46.7 kB

Latest revisions

# Date Author Comment
a2686d96 04/28/2014 12:10 pm Apollon Oikonomopoulos

KVM: start kvmd via daemon-util

Signed-off-by: Apollon Oikonomopoulos <>
Reviewed-by: Jose A. Lopes <>

d6f38e24 04/25/2014 06:38 pm Klaus Aehlig

Merge branch 'stable-2.11' into master

  • stable-2.11
    Make GlusterFS tests dual-stack-aware
    Moving release date of 2.11.0 to 25th of April
    Revision bump for 2.11.0
    Prepare NEWS file for release of 2.11.0
    Fix Xen instance state
  • stable-2.10
    Fix failed DRBD disk creation cleanup...
5423b15f 04/24/2014 04:43 pm Marco Casavecchia (aka MCM)

Added support for disk native AIO mode for KVM

This patch adds support for the native aio on KVM
hypervisor.

Basically, It adds a new HV-KVM optional parameter
"disk_aio" that can be set with the followings values:
threads (the default for KVM) or native. If not set, it...

30350df5 04/16/2014 01:53 pm Jose A. Lopes

Add Xen nothing state '------'

... which means that a domain is in the queue behind other domains
waiting to be scheduled. The domain is runnable but it is not
currently running.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Hrvoje Ribicic <>

749a2b90 04/15/2014 06:34 pm Jose A. Lopes

Add instance communication for Xen

  • add path to the 'xen-ifup-os' script that configures interfaces
  • fix if-elif construct
  • generate names of the form 'gnt.com.%d' for instance communication TAP interfaces
  • add 'vifname' property to the 'vif' field of the configuration of a domain...
9e42978e 04/15/2014 06:34 pm Jose A. Lopes

Move 'ConfigureNIC' to 'hv_base'

... so it can be reused by the Xen hypervisor.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Hrvoje Ribicic <>

e32cc48c 04/15/2014 06:34 pm Jose A. Lopes

Refactor NIC configuration for Xen

Extract common code between the PVM and HVM Xen hypervisors regarding
NIC configuration.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Hrvoje Ribicic <>

bc81cd54 04/15/2014 06:34 pm Jose A. Lopes

Extract 'GenerateTapName' to hypervisor base module

As mentioned, most of the body of the function 'GenerateKvmTapName' is
being extracted to a separate function in the hypervisor base module
so it can be reused by the Xen hypervisor.

Signed-off-by: Jose A. Lopes <>...

50dc67ab 04/15/2014 06:34 pm Jose A. Lopes

Rename 'GenerateTapName' to 'GenerateKvmTapName'

This is an intermediary step before extracting most of the body of
'GenerateTapName' to a separate function that can be reused by the Xen
hypervisor as well.

Signed-off-by: Jose A. Lopes <>...

79cb7ece 04/10/2014 07:44 pm Jose A. Lopes

Fix Xen instance state

For some strange reason, Xen once printed 'rb----' which does not make
any sense because an instance cannot be both running and blocked.
Fortunately, for Ganeti 'running' or 'blocked' is the same as
'running'.

Signed-off-by: Jose A. Lopes <>...

View revisions

Also available in: Atom