我的 KVM 有問題。我有一個 Agilio Netronome SmartNIC,它與 SR-IOV 技術相容(就像我的作業系統 - ubuntu 18.04 - 和 BIOS)。
我已經使用 virsh 配置了一個網路來管理 VF 的選擇:
<network>
<name>passthrough</name> <!-- This is the name of the file you created -->
<forward mode='hostdev' managed='yes'>
<pf dev='enp2s0np0'/>
</forward>
</network>
我已經為我的虛擬機器聲明了介面:
<interface type='hostdev' managed='yes'>
<source network='passthrough'>
<address type='pci' domain='0' bus='2' slot='8' function='1'/>
</source>
<mac address='52:54:00:6d:90:01'/>
</interface>
介面位於虛擬機器上,具有良好的驅動程式等,但無法加入主機或其他虛擬機器。
有人知道使用 hostdev 轉送模式時如何建立連線嗎?