Statistics
| Branch: | Tag: | Revision:

root / lib / hypervisor @ 8c5acc2e

Name Size
__init__.py 2 kB
hv_base.py 13.9 kB
hv_chroot.py 9.4 kB
hv_fake.py 8 kB
hv_kvm.py 43.9 kB
hv_lxc.py 13.8 kB
hv_xen.py 22.3 kB

Latest revisions

# Date Author Comment
1f8194b3 07/12/2011 01:50 pm Apollon Oikonomopoulos

KVM: strip boot=on from IDE CDROM drivers

boot=on forces KVM to use an extboot ROM which has shown poor behaviour with
booting from CD images. IDE CDROM emulation (which is forced by default when
booting from CD) does not need boot=on, so we simply omit it....

034c116d 06/22/2011 01:26 pm Apollon Oikonomopoulos

KVM: configure bridged NICs at migration start

Commit 5d9bfd870 moved tap interface handling from KVM to Ganeti, partly to
also solve the problem of routed interfaces getting configured too early during
live migrations, causing network anomalies. In that direction, configuration of...

c1dc897b 06/01/2011 04:52 pm Apollon Oikonomopoulos

Remove duplicate CDROM_IMAGE_PATH KVM hv param def

Introduced during merge, because of fba7f91. Remove the second definition, as
it broke KVM HTTP CDROM boot.

Signed-off-by: Apollon Oikonomopoulos <>

fe66bb7d 05/13/2011 09:59 pm Apollon Oikonomopoulos

Merge remote branch 'origin/stable-2.4' into grnet-2.4

Conflicts:
lib/hypervisor/hv_kvm.py
lib/opcodes.py
- Merge

Signed-off-by: Apollon Oikonomopoulos <>

fba7f911 05/10/2011 07:40 pm Marco Casavecchia

Use floppy disk and a second CDROM on KVM

Hi all,
this patch will add 3 new KVM parameters and a new option.

New Parameters:
- floppy_image_path = "" -> Specify the floppy image to load as
floppy disk.
- cdrom2_image_path = "" -> Specify a second cdrom image to load on...

7adf7814 05/10/2011 11:48 am René Nussbaumer

Make root_path an optional hypervisor parameter

This will allow us an easy migration to pv-grub, because a set root_path
confused pv-grub.

Signed-off-by: René Nussbaumer <>
Reviewed-by: Iustin Pop <>

43fcf0d3 05/04/2011 04:07 pm Apollon Oikonomopoulos

kvm: check that the ISO image is there if it's a URL

Perform a simple urllib2 check on ISO images specified as URL before instance
start, so as to work around qemu bug #597575 [1].

[1] https://bugs.launchpad.net/qemu/+bug/597575

Signed-off-by: Apollon Oikonomopoulos <>

f7d61653 04/20/2011 11:22 am Apollon Oikonomopoulos

KVM: reduce 'info migrate' polling period to 1s

Signed-off-by: Apollon Oikonomopoulos <>

1477a16f 04/20/2011 11:20 am Apollon Oikonomopoulos

KVM: use cache=none for shared disk templates

Disable host cache for externally mirrored disks to avoid cache incoherency.
Without this, migrations between the same two nodes may end up in disk
corruption.

This is a runtime override of cluster defaults, mostly a workaround....

823bfa49 04/20/2011 11:20 am Apollon Oikonomopoulos

Allow KVM to boot from HTTP

New versions of KVM support booting from HTTP-hosted ISO
images, via libcurl. This patch adds a proper check to
allow defining either a sane, absolute path or an HTTP
URL as an iso image path.

Remove "format=raw" from the cdrom device options when iso_image...

View revisions

Also available in: Atom