From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pauline Middelink Subject: kvm-85 won't boot guests with virtio block device Date: Mon, 27 Apr 2009 09:57:42 +0200 Message-ID: <20090427075742.GA4853@polyware.nl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="vkogqOf2sHV7VnPd" To: kvm@vger.kernel.org Return-path: Received: from nathan.polyware.nl ([80.89.239.2]:36089 "EHLO nathan.polyware.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751748AbZD0H5u (ORCPT ); Mon, 27 Apr 2009 03:57:50 -0400 Received: from nathan.polyware.nl (localhost.localdomain [127.0.0.1]) by nathan.polyware.nl (8.13.8/8.13.8) with ESMTP id n3R7vh0t004876 for ; Mon, 27 Apr 2009 09:57:43 +0200 Received: (from middelin@localhost) by nathan.polyware.nl (8.13.8/8.13.8/Submit) id n3R7vgkU004875 for kvm@vger.kernel.org; Mon, 27 Apr 2009 09:57:42 +0200 Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="kvm-85-virtio-boot.patch" 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 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}[,...]]] --vkogqOf2sHV7VnPd--