From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernhard Held Subject: Re: kvm-85 won't boot guests with virtio block device Date: Thu, 23 Apr 2009 15:49:29 +0200 Message-ID: <49F071E9.7090801@mgpi.de> References: <49F04A3D.3010801@yatego.com> <200904231405.28607.gerd.von.egidy@intra2net.com> <200904231527.13890.gerd.von.egidy@intra2net.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: kvm@vger.kernel.org Return-path: Received: from main.gmane.org ([80.91.229.2]:54647 "EHLO ciao.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752393AbZDWNtq (ORCPT ); Thu, 23 Apr 2009 09:49:46 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LwzJ9-0004cm-SU for kvm@vger.kernel.org; Thu, 23 Apr 2009 13:49:43 +0000 Received: from smtp.mgpi.de ([212.202.249.42]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Apr 2009 13:49:43 +0000 Received: from bheld by smtp.mgpi.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Apr 2009 13:49:43 +0000 In-Reply-To: <200904231527.13890.gerd.von.egidy@intra2net.com> Sender: kvm-owner@vger.kernel.org List-ID: >>>> After an upgrade from kvm-84 to kvm-85 all my guests won't start because >>>> no boot device could be found. >> No problem here, my guests run fine with kvm-85 and 2.6.29.1: >> -drive file="$IMG",format=raw,cache=none > > Are you sure you are using a virtio blockdevice and not a regular ide one? > IIRC, you need to add if=virtio to the -drive parameter to get virtio. Or > became virtio the default these days? Oh, sorry, I picked the wrong one :-( This is the right example: -drive file="$IMAGE1",if=virtio,format=raw,cache=none,boot=on I'm running 32 bit guest on 32 bit host and 32 bit guest on 64 bit host. Both "big floppies" and images with partition tables work. Sorry for the noise, Bernhard