[ovirt-users] Pass through disk can't R/W
Arik Hadas
ahadas at redhat.com
Thu May 3 10:29:21 UTC 2018
On Thu, May 3, 2018 at 11:45 AM, gsswzt at pku.edu.cn <gsswzt at pku.edu.cn>
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
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180503/3f7543a6/attachment.html>
More information about the Users
mailing list