4

Is there any way to set up a virtual infiniband network within kvm/qemu? If not, is there a viable open source alternative which would allow virtual infiniband networking?

(Note that I'm not looking to give VMs access to a physical IB network, I'm looking to have an entirely virtual IB network with no IB hardware)

1

Currently, to the best of my knowledge, QEMU/KVM can only emulate the basic (but enought to run a VM) set of bios/video/usb/disk/net combo. I know you said you don't want physical hardware, but your best chance at giving a VM some IB capabilities is using PCI passthrough.

1

One of the following two drivers is probably what you are looking for: softRoCE (rdma_rxe) or softiWARP (http://www.gitorious.org/softiwarp). The softRoCE driver went upstream in Linux kernel version v4.8.

  • Do either of those give you an actual 'ifconfig ib0' type of network interface? – kdt Aug 5 '13 at 16:20
  • 1
    Since both run on top of Ethernet you won't need an equivalent of ib_ipoib. However, both drivers create RDMA interfaces that show up in the output of RDMA tools like e.g. ibv_devices. – user251384 Sep 6 '13 at 19:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.