public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* kvm-85 won't boot guests with virtio block device
@ 2009-04-27  7:57 Pauline Middelink
  2009-04-27  9:00 ` Avi Kivity
  0 siblings, 1 reply; 16+ messages in thread
From: Pauline Middelink @ 2009-04-27  7:57 UTC (permalink / raw)
  To: kvm

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

Added the sacred signoff at numerious request :)

    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: 815 bytes --]

Small regression. libvirt determines the use of the boot= flag by looking
at the helptext. This flag is required for booting off virtio-blk devices.

Signed-off-by: Pauline Middelink <middelink <at> polyware.nl>

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}[,...]]]

^ permalink raw reply	[flat|nested] 16+ messages in thread
* kvm-85 won't boot guests with virtio block device
@ 2009-04-24 17:18 Pauline Middelink
  2009-04-24 23:25 ` Marcelo Tosatti
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Pauline Middelink @ 2009-04-24 17:18 UTC (permalink / raw)
  To: kvm

[-- 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}[,...]]]

^ permalink raw reply	[flat|nested] 16+ messages in thread
* kvm-85 won't boot guests with virtio block device
@ 2009-04-23 11:00 Darius Drozdowski
  2009-04-23 12:05 ` Gerd v. Egidy
  0 siblings, 1 reply; 16+ messages in thread
From: Darius Drozdowski @ 2009-04-23 11:00 UTC (permalink / raw)
  To: kvm

Hello!

After an upgrade from kvm-84 to kvm-85 all my guests won't start because 
no boot device could be found.
The kvm host is an 2xDual-Opteron 2212 with 8 GB RAM installed on debian 
lenny 2.6.26-2-amd64.
All the guests are debian etch 2.6.26-1-amd64 or debian lenny 
2.6.26-2-amd64 with 1 CPU and 1 GB mem.

A rollback to kvm-84 OR changing the hdd from vda to ide for the guests 
and everything is OK again (grub entrys have to be changed also from 
vda1 to hda1).

It seems that kvm-85 has a Problem detecting guest configured to use 
virtio block device.
I would like to habe virtio block device support because the performance 
of the guest is much better with it.

Can You help?

Greetings

Darius




^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2009-04-27  9:00 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-27  7:57 kvm-85 won't boot guests with virtio block device Pauline Middelink
2009-04-27  9:00 ` Avi Kivity
  -- strict thread matches above, loose matches on Subject: below --
2009-04-24 17:18 Pauline Middelink
2009-04-24 23:25 ` 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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox