From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:42285) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T91N9-0001al-HG for qemu-devel@nongnu.org; Tue, 04 Sep 2012 18:13:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T91N8-0003Kq-Gi for qemu-devel@nongnu.org; Tue, 04 Sep 2012 18:13:27 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:58078) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T91N8-0003Kk-Af for qemu-devel@nongnu.org; Tue, 04 Sep 2012 18:13:26 -0400 Received: by pbbjt11 with SMTP id jt11so10106190pbb.4 for ; Tue, 04 Sep 2012 15:13:25 -0700 (PDT) Message-ID: <50467D02.9040200@gmail.com> Date: Wed, 05 Sep 2012 06:13:22 +0800 From: ching MIME-Version: 1.0 References: <503F4F2B.905@gmail.com> <5043DC79.8040408@gmail.com> <50446931.1000509@redhat.com> <5045454B.1030405@gmail.com> <50459E71.7090106@redhat.com> <5045DDB6.1010009@gmail.com> <5045EC38.5070306@redhat.com> In-Reply-To: <5045EC38.5070306@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] boot device order has no effect for virtio-scsi devices List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Eric Blake , qemu-devel@nongnu.org On 09/04/2012 07:55 PM, Eric Blake wrote: > On 09/04/2012 04:53 AM, ching wrote: >> On 09/04/2012 02:23 PM, Paolo Bonzini wrote: >>> Il 04/09/2012 02:03, ching ha scritto: >>>> i add boot order and the virtual machine still boot from hard disk instead of cd-rom >>>> >>>> >>>> >>>> >>>> >>>> >>>>
>>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>>
>>>> >>>> >>>> here is the captured command line generated by libvirt (uuid and mac address are masked) >>> Ah, ok. libvirt for now supports only booting from LUN 0. You can use >>> multiple targets instead of multiple units. >>> >>> Paolo >>> >> it works. thanks a lot. >> hope that libvirt will document it somewhere > Please raise this issue on the libvirt lists, then. > actually, why is the problem related to libvirt, not qemu, nor seabios? libvirt has generated the qemu command line with "bootindex" already. -device scsi-hd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0-0-0-0,id=scsi0-0-0-0,bootindex=2 -drive file=/xubuntu-12.04-desktop-amd64.iso,if=none,id=drive-scsi0-0-0-1,readonly=on,format=raw,cache=unsafe,aio=native -device scsi-cd,bus=scsi0.0,channel=0,scsi-id=0,lun=1,drive=drive-scsi0-0-0-1,id=scsi0-0-0-1,bootindex=1