[libvirt] [PATCH 1/2] Add VSCSI bus type and VSCSI controller type for pseries guest.

Paolo Bonzini pbonzini at redhat.com
Sun Jun 10 15:53:49 UTC 2012


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




More information about the libvir-list mailing list