8. Host SDKs
Each part of the hypervisor supplies one or more SDKs, which can be used by custom-compiled applications. The SDKs can be categorized by Hypervisor Host, realtime guest and general purpose guest SDKs.
8.1. Hypervisor Host SDK
Applications, which are running at the Hypervisor Host and should communicate with the guests, needs the Hypervisor Host SDK as api.
The Hypervisor Host SDK is located at /hv/sdk folder. It contains currently an /inc, a /lib and an /examples sub-directory.
8.2. RTOS Guest SDK
RT-Linux:
VxWorks: [–]
RTOS-32: [–]
8.3. Windows Guest SDK
The SDK’s are available in the Windows guest after installing RTOSVisor.exe.
Install
/hv/guests/files/RTOSVisor.exeLocation of the SDK directory:
%Program Files%\acontis_technologies\Hypervisor\SDK
Hint
The supplied product zip package contains also this SDK at /Hypervisor/SDK/....
8.4. Linux Guest SDK
The SDK’s are available after installing the hvUbuntuGuestSdkPackage_1.0-0_amd64.deb package. This is done by calling the installation script install_sdk.sh. Both files are located on the Hypervisor Host in the directory /hv/guests/files/LinuxTools.
It is possible to install the SDK within the Linux guest or a separate development PC with Linux installed.
8.4.1. Install SDK in Linux guest
The installation is provided in a mountable directory on the Hypervisor Host. To access this directory from the Linux guest we need to install the network client software cifs-utils and mount the SMB drive from QEMU where the installation is located.
Open a console prompt in the Ubuntu guest and enter the following:
sudo apt-get update sudo apt-get install cifs-utils sudo mkdir /mnt/qemu sudo mount -t cifs //10.0.2.4/qemu /mnt/qemu -o guest sudo /mnt/qemu/files/LinuxTools/install_sdk.sh
With the installation process, the directory /hv/sdk is created. This is where all the essential files required for the SDK are stored.
8.4.2. Install SDK on a Linux development PC
To install the SDK on a separate development PC the hvUbuntuGuestSdkPackage_1.0-0_amd64.deb and install_sdk.sh files have to be copied from the Hypervisor Host /hv/guests/files/LinuxTools to the development PC. With calling the script install_sdk.sh the SDK will be installed in the directory /hv/sdk.