| Branch: | Tag: | Revision:

root / lib / hypervisor @ 43fcf0d3

Name Size 2 kB 13.9 kB 9.4 kB 8 kB 42.2 kB 13.8 kB 22.3 kB

Latest revisions

# Date Author Comment
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].


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

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

199b2053 01/18/2011 02:55 pm Apollon Oikonomopoulos

KVM: Add auxiliary functions to handle tap devices

Add two new functions, _OpenTap and _ProbeTapVnetHdr, to

_ProbeTapVnetHdr checks if the host kernel supports the virtio net header
(IFF_VNET_HDR) feature. This feature allows KVM to ask the the host kernel to...

5d9bfd87 01/18/2011 02:55 pm Apollon Oikonomopoulos

KVM: Perform network configuration in Ganeti

This patch introduces network configuration for KVM in Ganeti.

There are three problems with having KVM perform network configuration via ifup
a) Ganeti never gets to know the tap interface that is associated with an...

7be85163 01/18/2011 02:55 pm Guido Trotter

KVM: don't fail removing non-existing nic path

This shouldn't normally happen, but if it does no need to fail.

Signed-off-by: Guido Trotter <>
Reviewed-by: Michael Hanselmann <>

55cc0a44 01/07/2011 05:34 pm Michael Hanselmann

Use new console information in hypervisor abstraction

This makes use of the new way of returning console information from the
master daemon. Unittests are included.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

049383d9 12/06/2010 08:48 pm Adeodato Simo fix some lint issues introduced in 4b784cf

In particular:

- break as couple lines that were longer than 80 characters
- fix a couple "comma not followed by a space"
- fix an unused variable warning

Signed-off-by: Adeodato Simo <>...

4b784cf8 12/03/2010 05:48 pm Miguel Di Ciurcio Filho

kvm: Improve network syntax and tests

The current syntax when defining a NIC uses a pair of arguments, like this:

-net tap,vlan=0 -net nic,vlan=0,model=virtio

When using this pair, internally KVM will create a VLANState structure to send
ethernet frames between the guest NIC and the host tap device. This is...

View revisions

Also available in: Atom