* [Qemu-devel] qemu-kvm 0.15.0 boot order not working @ 2011-08-29 10:12 Peter Lieven 2011-08-29 11:21 ` Ottavio 0 siblings, 1 reply; 5+ messages in thread From: Peter Lieven @ 2011-08-29 10:12 UTC (permalink / raw) To: qemu-devel, kvm Hi, when I specify something like qemu -boot order=dc -cdrom image.iso -drive file=img.raw,if=virtio,boot=yes or qemu -boot order=n -cdrom image.iso -drive file=img.raw,if=virtio,boot=yes with qemu-kvm 0.15.0 it will always directly boot from the hardrive and not from cdrom or network. is this on purpose? the behaviour was different in earlier versions. If i omit the boot=yes in the drive specification the "-boot order" parameter is working as expected. Peter ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] qemu-kvm 0.15.0 boot order not working 2011-08-29 10:12 [Qemu-devel] qemu-kvm 0.15.0 boot order not working Peter Lieven @ 2011-08-29 11:21 ` Ottavio 2011-08-29 11:42 ` Peter Lieven 0 siblings, 1 reply; 5+ messages in thread From: Ottavio @ 2011-08-29 11:21 UTC (permalink / raw) To: qemu-devel On 29 August 2011 11:12, Peter Lieven <pl@dlh.net> wrote: > Hi, > > when I specify something like > > qemu -boot order=dc -cdrom image.iso -drive file=img.raw,if=virtio,boot=yes > > or > > qemu -boot order=n -cdrom image.iso -drive file=img.raw,if=virtio,boot=yes > > with qemu-kvm 0.15.0 > > it will always directly boot from the hardrive and not from cdrom or > network. > is this on purpose? the behaviour was different in earlier versions. > If i omit the boot=yes in the drive specification the "-boot order" > parameter is working > as expected. This is the qemu doc file: http://qemu.weilnetz.de/qemu-doc.html and this is qemu-kvm man page: http://linux.die.net/man/1/qemu-kvm I have never seen the boot=yes as an option to the argument -drive. I have also checked on previous versions of qemu and I haven't seen it so I'm puzzled why it should have worked in the first instance. [ BTW this question would be better suited to a qemu-users mailing list or forum... if there was one... ] -- Ottavio A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] qemu-kvm 0.15.0 boot order not working 2011-08-29 11:21 ` Ottavio @ 2011-08-29 11:42 ` Peter Lieven 2011-08-29 12:14 ` Michael Tokarev 0 siblings, 1 reply; 5+ messages in thread From: Peter Lieven @ 2011-08-29 11:42 UTC (permalink / raw) To: qemu-devel On 29.08.2011 13:21, Ottavio wrote: > On 29 August 2011 11:12, Peter Lieven<pl@dlh.net> wrote: >> Hi, >> >> when I specify something like >> >> qemu -boot order=dc -cdrom image.iso -drive file=img.raw,if=virtio,boot=yes >> >> or >> >> qemu -boot order=n -cdrom image.iso -drive file=img.raw,if=virtio,boot=yes >> >> with qemu-kvm 0.15.0 >> >> it will always directly boot from the hardrive and not from cdrom or >> network. >> is this on purpose? the behaviour was different in earlier versions. >> If i omit the boot=yes in the drive specification the "-boot order" >> parameter is working >> as expected. > This is the qemu doc file: > http://qemu.weilnetz.de/qemu-doc.html > > and this is qemu-kvm man page: > http://linux.die.net/man/1/qemu-kvm > > I have never seen the boot=yes as an option to the argument -drive. I > have also checked on previous versions of qemu and I haven't seen it > so I'm puzzled why it should have worked in the first instance. -drive [file=file][,if=type][,bus=n][,unit=m][,media=d][,index=i] [,cyls=c,heads=h,secs=s[,trans=t]][,snapshot=on|off] [,cache=writethrough|writeback|none|unsafe][,format=f] [,serial=s][,addr=A][,id=name][,aio=threads|native] [,readonly=on|off][,boot=on|off] use 'file' as a drive image you cannot boot e.g. from a virtio_blk device without this flag. it seems that the if the extboot option rom is loaded the specified boot order is ignored. peter > [ BTW this question would be better suited to a qemu-users mailing > list or forum... if there was one... ] > > ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] qemu-kvm 0.15.0 boot order not working 2011-08-29 11:42 ` Peter Lieven @ 2011-08-29 12:14 ` Michael Tokarev 2011-08-29 12:19 ` Peter Lieven 0 siblings, 1 reply; 5+ messages in thread From: Michael Tokarev @ 2011-08-29 12:14 UTC (permalink / raw) To: Peter Lieven; +Cc: qemu-devel On 29.08.2011 15:42, Peter Lieven wrote: > On 29.08.2011 13:21, Ottavio wrote: >> On 29 August 2011 11:12, Peter Lieven<pl@dlh.net> wrote: >>> Hi, >>> >>> when I specify something like >>> >>> qemu -boot order=dc -cdrom image.iso -drive file=img.raw,if=virtio,boot=yes >>> >>> or >>> >>> qemu -boot order=n -cdrom image.iso -drive file=img.raw,if=virtio,boot=yes >>> >>> with qemu-kvm 0.15.0 >>> >>> it will always directly boot from the hardrive and not from cdrom or >>> network. >>> is this on purpose? the behaviour was different in earlier versions. >>> If i omit the boot=yes in the drive specification the "-boot order" >>> parameter is working >>> as expected. >> This is the qemu doc file: >> http://qemu.weilnetz.de/qemu-doc.html >> >> and this is qemu-kvm man page: >> http://linux.die.net/man/1/qemu-kvm >> >> I have never seen the boot=yes as an option to the argument -drive. I >> have also checked on previous versions of qemu and I haven't seen it >> so I'm puzzled why it should have worked in the first instance. > -drive [file=file][,if=type][,bus=n][,unit=m][,media=d][,index=i] > [,cyls=c,heads=h,secs=s[,trans=t]][,snapshot=on|off] > [,cache=writethrough|writeback|none|unsafe][,format=f] > [,serial=s][,addr=A][,id=name][,aio=threads|native] > [,readonly=on|off][,boot=on|off] > use 'file' as a drive image > > you cannot boot e.g. from a virtio_blk device without this flag. It is possible since 0.13 or 0.14. Actually it's seabios thing, it got real support for virtio drives awhile back, before it was indeed possible only using boot=on drive option. > it seems that the if the extboot option rom is loaded the > specified boot order is ignored. And yes this is the case. the -boot tells bios about normal boot order, and with extboot you overwrite that. That's how booting works for stuff which is not supported by bios. /mjt ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] qemu-kvm 0.15.0 boot order not working 2011-08-29 12:14 ` Michael Tokarev @ 2011-08-29 12:19 ` Peter Lieven 0 siblings, 0 replies; 5+ messages in thread From: Peter Lieven @ 2011-08-29 12:19 UTC (permalink / raw) To: qemu-devel On 29.08.2011 14:14, Michael Tokarev wrote: > On 29.08.2011 15:42, Peter Lieven wrote: >> On 29.08.2011 13:21, Ottavio wrote: >>> On 29 August 2011 11:12, Peter Lieven<pl@dlh.net> wrote: >>>> Hi, >>>> >>>> when I specify something like >>>> >>>> qemu -boot order=dc -cdrom image.iso -drive file=img.raw,if=virtio,boot=yes >>>> >>>> or >>>> >>>> qemu -boot order=n -cdrom image.iso -drive file=img.raw,if=virtio,boot=yes >>>> >>>> with qemu-kvm 0.15.0 >>>> >>>> it will always directly boot from the hardrive and not from cdrom or >>>> network. >>>> is this on purpose? the behaviour was different in earlier versions. >>>> If i omit the boot=yes in the drive specification the "-boot order" >>>> parameter is working >>>> as expected. >>> This is the qemu doc file: >>> http://qemu.weilnetz.de/qemu-doc.html >>> >>> and this is qemu-kvm man page: >>> http://linux.die.net/man/1/qemu-kvm >>> >>> I have never seen the boot=yes as an option to the argument -drive. I >>> have also checked on previous versions of qemu and I haven't seen it >>> so I'm puzzled why it should have worked in the first instance. >> -drive [file=file][,if=type][,bus=n][,unit=m][,media=d][,index=i] >> [,cyls=c,heads=h,secs=s[,trans=t]][,snapshot=on|off] >> [,cache=writethrough|writeback|none|unsafe][,format=f] >> [,serial=s][,addr=A][,id=name][,aio=threads|native] >> [,readonly=on|off][,boot=on|off] >> use 'file' as a drive image >> >> you cannot boot e.g. from a virtio_blk device without this flag. > It is possible since 0.13 or 0.14. Actually it's seabios thing, > it got real support for virtio drives awhile back, before it was > indeed possible only using boot=on drive option. > >> it seems that the if the extboot option rom is loaded the >> specified boot order is ignored. > And yes this is the case. the -boot tells bios about normal > boot order, and with extboot you overwrite that. That's how > booting works for stuff which is not supported by bios. i checked. it is working on qemu-kvm 0.12.5 if i take the seabios packaged with qemu 0.14.1. with this version i can boot from virtio and still use any bootorder. so there was some chance in seabios that broke this feature since in older version extboot.bin was obviously loaded when the bios tried to boot from hard drive... peter > /mjt > ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-08-29 12:19 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-08-29 10:12 [Qemu-devel] qemu-kvm 0.15.0 boot order not working Peter Lieven 2011-08-29 11:21 ` Ottavio 2011-08-29 11:42 ` Peter Lieven 2011-08-29 12:14 ` Michael Tokarev 2011-08-29 12:19 ` Peter Lieven
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).