Developer Guide

  • 10/27/2020
  • Public Content

Linux* Host Application Sample

This is a simple Linux* host application that:
  • Loads a trusted application into the Intel® DAL virtual machine (DAL VM).
  • Communicates with the trusted application.
It uses the legacy Intel DAL Java* Host Interface APIs and runs over the user space.
This application performs this flow:
  1. Initializes a connection with the Intel DAL Host Interface Daemon.
  2. Installs a trusted application.
  3. Opens a session to the trusted application.
  4. Use the trusted application's SendAndRecv function to send command and receive data.
  5. Closes the session.
  6. Uninstalls the trusted application.
  7. Ends the connection with Intel DAL Host Interface Daemon.
This sample attempts to load a default trusted application called echo.dalp that should be located under
.  You can find this .dalp file under the Include folder. Copy it to
to run this sample.
The sample includes the source code and an executable file that was compiled on Linux Yocto* distribution 64-bit OS.
In order to rebuild the sample code, you will need to:
  • Install CMake
  • Run inside
    cmake . make
The output folder is
For running the resulting executable, make sure that the Intel DAL Host Interface Daemon is up and running, and run inside

Product and Performance Information


Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804