Package: ganeti2
Severity: normal
Version: 2.4.1-1
Tags: patch

It seems as if passing boot=on to the kvm process causes the following
error (when using virtio):

Could not start instance: Hypervisor error: Failed to start instance 
foo.foo.net: exited with exit code 1 (Two devices with same boot index 0
)

http://comments.gmane.org/gmane.comp.emulators.qemu/94012 seems to be
encountering similar issues with upstream qemu.

The attached patch seems to fix the problem:

--- ./hv_kvm.py 2011-04-26 18:06:03.396269327 -0400
+++ /tmp/hv_kvm.py      2011-04-26 18:10:02.055171029 -0400
@@ -545,10 +545,6 @@
       # TODO: handle FD_LOOP and FD_BLKTAP (?)
       if boot_disk:
         kvm_cmd.extend(['-boot', 'c'])
-        if disk_type != constants.HT_DISK_IDE:
-          boot_val = ''
-        else:
-          boot_val = ''
         # We only boot from the first disk
         boot_disk = False
       else:


-- 

Attachment: pgpM5lQQVTUTy.pgp
Description: PGP signature

Reply via email to