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: Paolo Bonzini
Subject: Re: [Qemu-devel] boot device order has no effect for virtio-scsi devices
Date: Tue, 04 Sep 2012 08:23:45 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0

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



reply via email to

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