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