acrn-hypervisor/misc/sample_application
Jiaqing Zhao 16c4bf1c4d misc: sample_application: fix setup_hmi_vm.sh for Ubuntu 22.04
In chroot environment, the running kernel is the host kernel, so uname
command cannot get the kernel verison in image. Since hmi-vm uses
GVT-d, and kernel 5.15 does not support newer iGPUs in 13th Gen
processors, this patch installs the linux-generic-hwe kernel (5.19)
instead of linux-modules-extra package.

In Ubuntu 22.04, package needrestart is installed by default to
interactively prompt user there is a pending kernel upgrade or serivces
need to be restarted in apt. This patch removes it.

Also, this patch expands hmi-vm image by 2GB to hold the new kernel and
runs 'apt autoremove' after everything is installed.

Tracked-On: #8448
Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
2023-07-10 15:40:28 +08:00
..
image_builder misc: sample_application: fix setup_hmi_vm.sh for Ubuntu 22.04 2023-07-10 15:40:28 +08:00
rtvm SampleApplication: Add Makefile for the entire SampleApplication 2022-08-04 14:22:39 +08:00
uservm SampleApplicaton: Change schroot data mapping to desktop 2022-08-29 15:14:05 +08:00
Makefile SampleApplication: Add Makefile for the entire SampleApplication 2022-08-04 14:22:39 +08:00
README.rst

README.rst

:orphan:

.. _sample-app:

ACRN Sample Application
#######################

This directory contains a software application that runs a real-time
application between a real-time VM and a standard VM using the
acrn-hypervisor.

The ``rtvm`` directory contains the code that reads and pipes data from
``cyclictest`` to the User VM using the inter-vm shared memory feature that
acrn-hypervisor exposes to its VMs.

The ``uservm`` directory contains the code that reads the piped data from the
RTVM, processes the data, and displays the data over a web application that
can be accessed from the hypervisor's Service VM.

To build and run the applications, copy this repo to your VMs, run make in the
directory that corresponds to the VM that you are running, and then follow the
sample app guide in the acrn-hypervisor documentation.

For more information, please go to: https://github.com/projectacrn/acrn-hypervisor/wiki/ACRN-Sample-App