Today users are able to tweak whether the hypervisor includes support to software SRAM (SSRAM). This, however, gives rise to potential functional incorrectness when the hypervisor is not built with such support but a service VM attempts to assign SSRAM to a post-launched VM (which is possible as the service VM can still see the SSRAM-related ACPI tables). In such cases the SSRAM assigned to a post-launched VM is not properly initialized and thus not locked in cache. As makes little sense for a user to configure the SSRAM support in the hypervisor in a different way as the presence of SSRAM on hardware, this patch removes the "SSRAM support" option from the configurator. The config tools will now automatically enable the SSRAM support if the hardware supports the feature and disable that otherwise. Tracked-On: #8231 Signed-off-by: Junjie Mao <junjie.mao@intel.com> |
||
---|---|---|
.. | ||
packages | ||
pyodide | ||
__init__.py | ||
.gitignore | ||
package.json | ||
README.md | ||
requirements.txt | ||
tsconfig.json | ||
yarn.lock |
ACRN Configurator
This version is based on Tauri, WIP.
Features
Support Platforms
- Linux (.deb, AppImage)
- Windows 7,8,10 (.exe, .msi)
Setting Up
1. Install System Dependencies
- Please follow this guide to install system dependencies.
- Download and install Nodejs.
- Please follow this guide to install yarn.
Linux
In Linux, make sure your already install git
, python3
(version>=3.6) and python3-venv
library,
$ sudo apt install git python3 python3-venv
# check python3 version
$ python3 --version
Python 3.8.10
Windows
Chocolatey is a package manager tool for windows,
you can use choco install xsltproc
to install xsltproc
package,
which provide xmllint
command.
Make sure your system have python which version>3.6, you can check it by following command line:
$ python --version
Python 3.8.10
If your system doesn't have git and python, you can install it by
choco install git python3
.
2. Clone Project And Install Project Dependencies.
Linux
git clone https://github.com/projectacrn/acrn-hypervisor
cd acrn-hypervisor/misc/config_tools/configurator
python3 -m pip install -r requirements.txt
yarn
Windows
Similar to Linux, in the Windows environment,
you need replace the command line python3
with python
.
3. How To Build
Linux
Run this command in the acrn-hypervisor directory.
make configurator
Windows
Run following command in the 'acrn-hypervisor' directory.
cd misc\config_tools
python scenario_config\schema_slicer.py
python scenario_config\jsonschema\converter.py
xmllint --xinclude schema\datachecks.xsd > schema\allchecks.xsd
python -m build
del configurator\packages\configurator\thirdLib\acrn_config_tools-3.0-py3-none-any.whl
cd configurator
python packages\configurator\thirdLib\manager.py install
yarn
yarn build
4. How To Run
Linux
Run this command in the acrn-hypervisor directory.
sudo apt install ./build/acrn-configurator_*.deb
acrn-configurator
Windows
You can find installer under the
misc\config_tools\configurator\packages\configurator\src-tauri\target\release\bundle\msi
directory, the installer in the folder.