* [Qemu-devel] Booting from VirtIO disk @ 2010-12-08 14:24 अनुज 2010-12-08 14:30 ` Stefan Hajnoczi 0 siblings, 1 reply; 4+ messages in thread From: अनुज @ 2010-12-08 14:24 UTC (permalink / raw) To: qemu-devel 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. Any pointer or explanation will help. Thanks & Regards -- Anuj Aggarwal .''`. : :Ⓐ : # apt-get install hakuna-matata `. `'` `- ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] Booting from VirtIO disk 2010-12-08 14:24 [Qemu-devel] Booting from VirtIO disk अनुज @ 2010-12-08 14:30 ` Stefan Hajnoczi [not found] ` <AANLkTimf-YNKbGtiXUVcOxEBzMWvp1z2Y1FjDGxX3JG8@mail.gmail.com> 0 siblings, 1 reply; 4+ messages in thread From: Stefan Hajnoczi @ 2010-12-08 14:30 UTC (permalink / raw) To: अनुज; +Cc: qemu-devel 2010/12/8 अनुज <anuj01@gmail.com>: > 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). Stefan ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <AANLkTimf-YNKbGtiXUVcOxEBzMWvp1z2Y1FjDGxX3JG8@mail.gmail.com>]
* Re: [Qemu-devel] Booting from VirtIO disk [not found] ` <AANLkTimf-YNKbGtiXUVcOxEBzMWvp1z2Y1FjDGxX3JG8@mail.gmail.com> @ 2010-12-08 15:04 ` Stefan Hajnoczi 2010-12-08 15:21 ` अनुज 0 siblings, 1 reply; 4+ messages in thread From: Stefan Hajnoczi @ 2010-12-08 15:04 UTC (permalink / raw) To: अनुज; +Cc: qemu-devel 2010/12/8 अनुज <anuj01@gmail.com>: > Hi > > thanks for your quick response. Please see the comments inline. > > 2010/12/8 Stefan Hajnoczi <stefanha@gmail.com>: >> 2010/12/8 अनुज <anuj01@gmail.com>: >>> 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] Booting from VirtIO disk 2010-12-08 15:04 ` Stefan Hajnoczi @ 2010-12-08 15:21 ` अनुज 0 siblings, 0 replies; 4+ messages in thread From: अनुज @ 2010-12-08 15:21 UTC (permalink / raw) To: Stefan Hajnoczi; +Cc: qemu-devel 2010/12/8 Stefan Hajnoczi <stefanha@gmail.com>: > 2010/12/8 अनुज <anuj01@gmail.com>: >> Hi >> >> thanks for your quick response. Please see the comments inline. >> >> 2010/12/8 Stefan Hajnoczi <stefanha@gmail.com>: >>> 2010/12/8 अनुज <anuj01@gmail.com>: >>>> 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). Yes I was looking in qemu.git-based code by mistake. I found files in qemu-kvm.git-based code. > Are you sure you tested virtio-blk boot in qemu.git-based code? No I have tested that boot only using qemu-kvm.git-based code. > > Stefan > Thanks for your help. Regards -- Anuj Aggarwal .''`. : :Ⓐ : # apt-get install hakuna-matata `. `'` `- ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-12-08 15:21 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2010-12-08 14:24 [Qemu-devel] Booting from VirtIO disk अनुज 2010-12-08 14:30 ` Stefan Hajnoczi [not found] ` <AANLkTimf-YNKbGtiXUVcOxEBzMWvp1z2Y1FjDGxX3JG8@mail.gmail.com> 2010-12-08 15:04 ` Stefan Hajnoczi 2010-12-08 15:21 ` अनुज
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).