Multi Channel DMA Intel® FPGA IP for PCI Express Design Example User Guide

ID 683517
Date 2/14/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

3.5.2.3.2.4. Establish Communication Between Host and QEMU

  1. Login to Guest VM.

    $telnet localhost 5551

  2. Bring up interface.

    $ifconfig eth0 up

  3. Assign the IP address to eth0.

    $ifconfig eth0 <1.1.1.11>

Execute the following command from the Host:
  1. Bring up net6551. "net6551" is the tap interface that you give in the QEMU command.

    $ifconfig net6551 up

    $ifconfig net6551 <1.1.1.12>

  2. Copy the code by using scp.

    Eg: $scp -r <directory> root@<GuestIP>:/<path_to_the_directory>/

  3. Refer to section 3.5.2.3.1 for updating the grub file in VM.
  4. Enable NO_IOMMU mode inside the Guest VM.

    Currently, QEMU does not support IOMMU. When running software on the Guest VM, if you are using vfio, you need to enable the NO_IOMMU_MODE mode.

    Edit common/mk/common.mk to define the following macro.

    Eg: __cflags += -DNO_IOMMU_MODE

    By default, this flag is disabled.

  5. Refer to Software Setup for the procedure to build and install MCDMA.