All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pauline Middelink <middelink@polyware.nl>
To: kvm@vger.kernel.org
Subject: kvm-85 won't boot guests with virtio block device
Date: Fri, 24 Apr 2009 19:18:53 +0200	[thread overview]
Message-ID: <20090424171853.GA3798@polyware.nl> (raw)

[-- Attachment #1: Type: text/plain, Size: 727 bytes --]

Hi,

To follow up on the issues with kvm-85 and libvirt I discovered the following
issue: libvirt detects from the help of qemu which options it can give to
qemu. (in this case obviously /usr/kvm/bin/qemu-system-x86_64 -help)

If you look carefully to the output of the -help of qemu from kvm-84 and
kvm-85, you will notice the boot flag to the -drive option has disappeared!
Hence letting libvirt believe it isnt allowed to use it, hence the unable
to boot error.

A small patch which fixes the problem for me, is attached.

    Met vriendelijke groet,
        Pauline Middelink
-- 
GPG Key fingerprint = 2D5B 87A7 DDA6 0378 5DEA  BD3B 9A50 B416 E2D0 C3C2
For more details look at my website http://www.polyware.nl/~middelink

[-- Attachment #2: kvm-85-virtio-boot.patch --]
[-- Type: text/plain, Size: 602 bytes --]

diff -ur kvm-85/qemu/qemu-options.hx kvm-85a/qemu/qemu-options.hx
--- kvm-85/qemu/qemu-options.hx 2009-04-21 11:57:31.000000000 +0200
+++ kvm-85a/qemu/qemu-options.hx        2009-04-24 19:04:50.000000000 +0200
@@ -77,6 +77,7 @@
     "-drive [file=file][,if=type][,bus=n][,unit=m][,media=d][,index=i]\n"
     "       [,cyls=c,heads=h,secs=s[,trans=t]][,snapshot=on|off]\n"
     "       [,cache=writethrough|writeback|none][,format=f][,serial=s]\n"
+    "       [,boot=on|off]\n"
     "                use 'file' as a drive image\n")
 STEXI
 @item -drive @var{option}[,@var{option}[,@var{option}[,...]]]

             reply	other threads:[~2009-04-24 17:27 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-24 17:18 Pauline Middelink [this message]
2009-04-24 23:25 ` kvm-85 won't boot guests with virtio block device Marcelo Tosatti
2009-04-24 23:46   ` Anthony Liguori
2009-04-24 23:47     ` Anthony Liguori
2009-04-26 10:27     ` Avi Kivity
2009-04-25 20:13 ` Gerd v. Egidy
2009-04-26 10:25 ` Avi Kivity
  -- strict thread matches above, loose matches on Subject: below --
2009-04-27  7:57 Pauline Middelink
2009-04-27  9:00 ` Avi Kivity
2009-04-23 11:00 Darius Drozdowski
2009-04-23 12:05 ` Gerd v. Egidy
2009-04-23 12:40   ` Bernhard Held
2009-04-23 12:49     ` Alexey Eremenko
2009-04-23 13:27     ` Gerd v. Egidy
2009-04-23 13:49       ` Bernhard Held
2009-04-23 14:01         ` Gerd v. Egidy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090424171853.GA3798@polyware.nl \
    --to=middelink@polyware.nl \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.