On Thu, May 3, 2018 at 11:45 AM, [email protected] <[email protected]>
wrote:

> Hi,
>
> I found my VM libvirt create xml as:
>
> <hostdev managed="no" mode="subsystem" rawio="yes" type="scsi">
>       <source>
>         <adapter name="scsi_host0"/>
>         <address bus="2" target="4" unit="0"/>
>       </source>
> </hostdev>
>
> I found https://libvirt.org/formatdomain.html#elementsHostDevSubsys like
> blow:
>
> ...
> <devices>
>   <hostdev mode='subsystem' type='scsi' sgio='filtered' rawio='yes'>
>     <source>
>       <adapter name='scsi_host0'/>
>       <address bus='0' target='0' unit='0'/>
>     </source>
>     <readonly/>
>     <address type='drive' controller='0' bus='0' target='0' unit='0'/>
>   </hostdev>
> </devices>
> ...
>
> Is <address> mandatory?
>
> No, it is not mandatory.
If not set, it would be determined by libvirt. See [1].

[1]
https://ovirt.org/develop/release-management/features/virt/stabledeviceaddresses/

>
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.ovirt.org/mailman/listinfo/users
>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to