[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] boot device order has no effect for virtio-scsi devices
From: |
ching |
Subject: |
Re: [Qemu-devel] boot device order has no effect for virtio-scsi devices |
Date: |
Wed, 05 Sep 2012 06:13:22 +0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.6esrpre) Gecko/20120729 Thunderbird/10.0.6 |
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
>>>>
>>>> <disk type='file' device='disk'>
>>>> <driver name='qemu' type='raw' cache='unsafe' io='native'/>
>>>> <source file='/Linux.raw_image'/>
>>>> <target dev='sda' bus='scsi'/>
>>>> <boot order='2'/>
>>>> <address type='drive' controller='0' bus='0' target='0' unit='0'/>
>>>> </disk>
>>>> <disk type='file' device='cdrom'>
>>>> <driver name='qemu' type='raw' cache='unsafe' io='native'/>
>>>> <source file='/xubuntu-12.04-desktop-amd64.iso'/>
>>>> <target dev='sdb' bus='scsi'/>
>>>> <readonly/>
>>>> <boot order='1'/>
>>>> <address type='drive' controller='0' bus='0' target='0' unit='1'/>
>>>> </disk>
>>>>
>>>> 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
- Re: [Qemu-devel] boot device order has no effect for virtio-scsi devices, ching, 2012/09/02
- Re: [Qemu-devel] boot device order has no effect for virtio-scsi devices, Paolo Bonzini, 2012/09/03
- Re: [Qemu-devel] boot device order has no effect for virtio-scsi devices, ching, 2012/09/03
- Re: [Qemu-devel] boot device order has no effect for virtio-scsi devices, Paolo Bonzini, 2012/09/04
- Re: [Qemu-devel] boot device order has no effect for virtio-scsi devices, ching, 2012/09/04
- Re: [Qemu-devel] boot device order has no effect for virtio-scsi devices, Eric Blake, 2012/09/04
- Re: [Qemu-devel] boot device order has no effect for virtio-scsi devices,
ching <=
- Re: [Qemu-devel] boot device order has no effect for virtio-scsi devices, Paolo Bonzini, 2012/09/05
- Re: [Qemu-devel] boot device order has no effect for virtio-scsi devices, ching, 2012/09/05