Package: kvm
Version: 85+dfsg-1

As of version 85, "kvm -help" no longer reports the availability of the
"boot={on,off}" option, which causes libvirt to assume it is not
available.  This in turn causes booting from virtio block devices to
fail.  This patch, taken from the qemu-kvm git tree's commit
d7580e4dc3d10161fbcd591105af99d1cac2e370, fixes the problem for me.


>From d7580e4dc3d10161fbcd591105af99d1cac2e370 Mon Sep 17 00:00:00 2001
From: Pauline Middelink <middel...@polyware.nl>
Date: Mon, 27 Apr 2009 09:57:42 +0200
Subject: [PATCH] Re-add -drive boot= parameter help text

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.

The description was lost in the last upstream merge; this patch re-adds it.

Signed-off-by: Pauline Middelink <middel...@polyware.nl>
Signed-off-by: Avi Kivity <a...@redhat.com>
---
 qemu-options.hx |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/qemu-options.hx b/qemu-options.hx
index d5e0b85..a11ead9 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -92,6 +92,7 @@ DEF("drive", HAS_ARG, QEMU_OPTION_drive,
     "-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}[,...]]]
-- 
1.6.3.1

-- 
Paul Collins
Wellington, New Zealand

Dag vijandelijk luchtschip de huismeester is dood



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to