<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"><style>body { line-height: 1.5; }body { font-size: 10.5pt; font-family: ????; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>Hi,</div><div><br></div><div>I found my VM libvirt create xml as:</div><div><br></div>
<div><div><hostdev managed="no" mode="subsystem" rawio="yes" type="scsi"></div><div> <source></div><div> <adapter name="scsi_host0"/></div><div> <address bus="2" target="4" unit="0"/></div><div> </source></div><div></hostdev></div></div><div><br></div><div>I found <i></i><a href="https://libvirt.org/formatdomain.html#elementsHostDevSubsys" style="font-size: 10.5pt; line-height: 1.5; font-style: italic; background-color: transparent;">https://libvirt.org/formatdomain.html#elementsHostDevSubsys</a><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; font-style: italic; background-color: rgba(0, 0, 0, 0);"> </span><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">like blow:</span></div><div><pre>...
<devices>
<hostdev mode='subsystem' type='scsi' sgio='filtered' rawio='yes'>
<source>
<adapter name='scsi_host0'/>
<address bus='0' target='0' unit='0'/>
</source>
<readonly/>
<span style="background-color: rgb(255, 102, 0);"> <address type='drive' controller='0' bus='0' target='0' unit='0'/></span>
</hostdev>
</devices>
...</pre><pre>Is <address> mandatory?</pre><pre><br></pre></div><span style="color: rgb(0, 0, 0); font-style: italic; background-color: rgba(0, 0, 0, 0);"></span>
</body></html>