qemu-devel
[Top][All Lists]
Advanced

[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: Tue, 04 Sep 2012 18:53:42 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.6esrpre) Gecko/20120729 Thunderbird/10.0.6

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]