From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=39029 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQLZ0-0000sP-PS for qemu-devel@nongnu.org; Wed, 08 Dec 2010 10:04:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PQLYx-0004JH-BB for qemu-devel@nongnu.org; Wed, 08 Dec 2010 10:04:14 -0500 Received: from mail-ey0-f181.google.com ([209.85.215.181]:56922) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PQLYx-0004J0-6W for qemu-devel@nongnu.org; Wed, 08 Dec 2010 10:04:11 -0500 Received: by eyh6 with SMTP id 6so762535eyh.12 for ; Wed, 08 Dec 2010 07:04:10 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 8 Dec 2010 15:04:08 +0000 Message-ID: Subject: Re: [Qemu-devel] Booting from VirtIO disk From: Stefan Hajnoczi Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?4KSF4KSo4KWB4KSc?= Cc: qemu-devel 2010/12/8 =E0=A4=85=E0=A4=A8=E0=A5=81=E0=A4=9C : > Hi > > thanks for your quick response. Please see the comments inline. > > 2010/12/8 Stefan Hajnoczi : >> 2010/12/8 =E0=A4=85=E0=A4=A8=E0=A5=81=E0=A4=9C : >>> Hi list >>> >>> I got confused after observing that there is no support for VirtIO >>> block devices in Seabios supplied with Qemu-0.12.3. But still it can >>> accept a VirtIO disk as a bootable device and perfectly boots from it. >>> Then How it's done? >>> >>> But I can see the VirtIO block device code in Seabios source supplied >>> with Qemu-0.13.0. >> >> Before SeaBIOS had native support for virtio-blk there was the extboot >> option ROM which could boot from virtio-blk devices by reading a >> special I/O port (it does not speak virtio-blk, see qemu-kvm.git >> hw/extboot.c). > > I couldn't find this file in qemu versions 0.12.3 and 0.13.0. And my > same doubt is also for SCSI disks. Please keep qemu-devel@nongnu.org CCed so others can follow the conversation and help too. You probably looked at QEMU source code (from qemu.git). The extboot code is in qemu-kvm.git (which is shipped as the "kvm" or "qemu-kvm" package on distros). Are you sure you tested virtio-blk boot in qemu.git-based code? Stefan