Hostdev 전달 모드를 사용하여 KVM의 VM 간 연결

Hostdev 전달 모드를 사용하여 KVM의 VM 간 연결

KVM에 문제가 있습니다. 저는 SR-IOV 기술(예: 내 OS - ubuntu 18.04 - 및 BIOS)과 호환되는 Agilio Netronome SmartNIC를 가지고 있습니다.

VF 선택을 관리하기 위해 virsh를 사용하여 네트워크를 구성했습니다.

<network>
   <name>passthrough</name> <!-- This is the name of the file you created -->
   <forward mode='hostdev' managed='yes'>
      <pf dev='enp2s0np0'/>
   </forward>
</network>

그리고 내 VM에 대한 인터페이스를 선언했습니다.

   <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>

인터페이스는 좋은 드라이버 등을 사용하여 VM에 있지만 호스트 시스템이나 다른 VM에 연결할 수 없습니다.

Hostdev 전달 모드를 사용할 때 연결하는 방법을 아는 사람이 있습니까?

관련 정보