From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LvuDx-0002I2-0i for qemu-devel@nongnu.org; Mon, 20 Apr 2009 10:11:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LvuDr-0002Gu-4o for qemu-devel@nongnu.org; Mon, 20 Apr 2009 10:11:51 -0400 Received: from [199.232.76.173] (port=37325 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LvuDp-0002Gb-Je for qemu-devel@nongnu.org; Mon, 20 Apr 2009 10:11:46 -0400 Received: from e36.co.us.ibm.com ([32.97.110.154]:35602) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LvuDp-0004nb-42 for qemu-devel@nongnu.org; Mon, 20 Apr 2009 10:11:45 -0400 Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by e36.co.us.ibm.com (8.13.1/8.13.1) with ESMTP id n3KEA85H016314 for ; Mon, 20 Apr 2009 08:10:08 -0600 Received: from d03av04.boulder.ibm.com (d03av04.boulder.ibm.com [9.17.195.170]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n3KEBbRG043038 for ; Mon, 20 Apr 2009 08:11:37 -0600 Received: from d03av04.boulder.ibm.com (loopback [127.0.0.1]) by d03av04.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n3KEBXq1025155 for ; Mon, 20 Apr 2009 08:11:33 -0600 Date: Mon, 20 Apr 2009 09:11:31 -0500 From: Ryan Harper Subject: Re: [Qemu-devel] Bug: SCSI/VirtIO: VM unable to reboot from non-IDE controller Message-ID: <20090420141131.GJ25977@us.ibm.com> References: <7fac565a0904200253k7ec3e83m28401adea775436f@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7fac565a0904200253k7ec3e83m28401adea775436f@mail.gmail.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Eremenko Cc: qemu-devel * Alexey Eremenko [2009-04-20 04:56]: > Hi All ! > > Most Linux VMs (Ubuntu and Red Hat-based systems -- RHEL, Fedora) have > failed during automated tests > on SCSI and VirtIO disks on Qemu/KVM. > It turned out to be a problem of Qemu/KVM, where after a software reboot > (i.e. initiated by guest OS), the system is unable to boot from SCSI > controller. > > To reboot successfully you need either soft reboot+IDE or Hard reboot (Qemu > cold boot)+SCSI. > > The Command sent to Qemu/KVM: > /usr/local/bin/qemu-system-x86_64 -m 512 -monitor > tcp:localhost:4602,server,nowait -cdrom /isos/linux/Fedora-8-i386-DVD.iso > -drive file=/vm/fedora8-32.qcow2,if=scsi,boot=on -name fedora8-32 You're using extboot (boot=on) which is part of kvm. I sent a patch[1] to since the upstream kvm-userspace bits had the wrong option rom reset address. This should be fixed in upstream kvm-userspace.git[2]. 1. http://kerneltrap.org/mailarchive/linux-kvm/2009/4/6/5418914 2. http://git.kernel.org/?p=linux/kernel/git/avi/kvm-userspace.git;a=commit;h=a1075de527f309850df278484f2ef4127827c6f4 -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx ryanh@us.ibm.com