Rate This Document
Findability
Accuracy
Completeness
Readability

Creating a Virtualization Offload Project

DPAK applications are built on SP680 SmartNICs, which are suited for virtualization and protocol parsing scenarios. The live migration capability is available. It is also called dynamic migration or real-time migration. Specifically, the running status of a VM is completely saved and the VM is quickly restored to the original or even a different hardware platform. The plugin leverages SP680 SmartNICs to resolve the problem in which live migrations are not supported in device passthrough scenarios.

Prerequisites

  • You have logged in to the Kunpeng DevKit.
  • The Development Assistant has been installed. You are advised to install the Compiler and Debugger before creating a project for future compilation and debugging.
  • The OVS software has been deployed. For details, see DPAK Automatic Deployment Guide.

Procedure

  1. Click in the shortcut menu bar on the left pane or click next to Development Assistant. The Kunpeng Application Projects page is displayed. See Figure 1.
    Figure 1 Kunpeng Application Projects
  2. Click DPAK Application. On the displayed DPAK Application page, select Virtualization offload for the Project Type, and click Create to create a virtualization offload project.
    Figure 2 Creating a virtualization offload project
    Table 1 Parameter settings

    Parameter

    Description

    Project Type

    The options are:

    • OVS offload
    • Virtualization offload

    Project Name

    Name of the project to be created. The default project name is xxx_ProjectN, which can be modified as required.

    NOTE:
    • N is an integer starting from 1 in ascending order.
    • The project name can contain 1 to 64 characters, including only letters, digits, periods (.), hyphens (-), plus signs (+), parentheses (), and underscores (_). It cannot start with a period (.).

    Project Location

    Storage path of the project to be created. The default project location is C:\Users\username\KunpengProject, which can be modified as required.

  3. After the virtualization offload project is created, click Open Project to open it in the current window.
    Figure 3 Opening a project
    Figure 4 Viewing a virtualization offload project
  4. Use the Compiler and Debugger to compile and debug the new project. For the operation details, see the README file in the project folder.

    If a project folder or file is added, deleted, modified, or renamed, you can synchronize the change to the remote server. For details, see Synchronizing Code to a Remote Server.

    When running a virtualization offload project, you need to enter the IP addresses, port numbers, and user names of the running node, compute node 1, compute node 2, and storage node on the terminal.