Il 08/06/2012 04:08, Li Zhang ha scritto:
> A simple
>
> <disk type='file' device='disk'>
> <driver name='qemu' type='raw'/>
> <source file='/path/file'/>
> <target dev='sda' bus='scsi'/>
> <address type='drive' controller='0' bus='0'
unit='0' />
> </disk>
>
> will do exactly what you want and add a default ibmvscsi controller.
> More complex cases are handled with the controller element:
It's a little hard to know if the disk is on a ibmvscsi controller.
It may need users to select right type of SCSI controller manually.
Of course. Defaults are there so that people can override them. :)
If people find defaults confusing, they can just avoid using them and
write down everything.
Paolo