[ovirt-users] Pass through disk can't R/W

gsswzt at pku.edu.cn gsswzt at pku.edu.cn
Thu May 3 08:45:33 UTC 2018


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180503/1f62d12a/attachment.html>


More information about the Users mailing list