From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Theurer Subject: boot problems with if=virtio Date: Mon, 27 Apr 2009 16:13:17 -0500 Message-ID: <49F61FED.1020107@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: kvm-devel Return-path: Received: from e35.co.us.ibm.com ([32.97.110.153]:49426 "EHLO e35.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761072AbZD0VNT (ORCPT ); Mon, 27 Apr 2009 17:13:19 -0400 Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by e35.co.us.ibm.com (8.13.1/8.13.1) with ESMTP id n3RL7hIq024103 for ; Mon, 27 Apr 2009 15:07:43 -0600 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n3RLDJdJ097112 for ; Mon, 27 Apr 2009 15:13:19 -0600 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n3RLDI0T029489 for ; Mon, 27 Apr 2009 15:13:18 -0600 Received: from twinturbo.austin.ibm.com (twinturbo.austin.ibm.com [9.41.41.35]) by d03av02.boulder.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id n3RLDIK0029453 for ; Mon, 27 Apr 2009 15:13:18 -0600 Sender: kvm-owner@vger.kernel.org List-ID: I know there have been a couple other threads here about booting with if=virtio, but I think this might be a different problem, not sure: I am using kvm.git (41b76d8d0487c26d6d4d3fe53c1ff59b3236f096) and qemu-kvm.git (8f7a30dbc40a1d4c09275566f9ed9647ed1ee50f) and linux 2.6.20-rc3 It appears to build fine. I am trying to run the following command: name=newcastle-xmailt01 dev1=/dev/disk/by-id/scsi-3600a0b80000f1eb10000069748d8c230 dev2=/dev/disk/by-id/scsi-3600a0b80000f1eb1000006dc48f45432 macaddr=00:50:56:00:00:06 tap=tap6 cpus=1 mem=1024 /usr/local/bin/qemu-system-x86_64 -name $name\ -drive file=$dev1,if=virtio,boot=on,cache=none\ -drive file=$dev2,if=virtio,boot=off,cache=none\ -m $mem -net nic,model=virtio,vlan=0,macaddr=$macaddr\ -net tap,vlan=0,ifname=$tap,script=/etc/qemu-ifup -vnc 127.0.0.1:6 -smp $cpus -daemonize ...and I get "Boot failed: could not read the boot disk" This did work with the kvm-userspace.git (kvm-85rc6). I can get this to work with a windows vm, using ide. Was there a recent change to the -drive options that I am missing? Thanks, -Andrew