master
Commits on Dec 22, 2020
-
block: fixed used bytes reporting
Signed-off-by: Iulian Barbu <iul@amazon.com> Signed-off-by: Laura Loghin <lauralg@amazon.com>
-
Update patch block device docs.
Improved documentation by clearly describing the supported usecase and potential issues that might arise if the feature is misused. Signed-off-by: Andrei Sandu <sandreim@amazon.com>
sandreim committedDec 22, 2020 -
docs: randomness handling for microVM clones
Adds a high level overview on how randomness is handled in linux kernel; Presents recommendations related to handling randomness when restoring multiple microVM clones from a single snapshot Signed-off-by: Radu Iliescu <riliescu@amazon.com>
-
Added integration test for ENOSYS error code
Signed-off-by: Alexandru Cihodaru <cihodar@amazon.com>
AlexandruCihodaru committedDec 22, 2020 -
Added handler for ENOSYS in emulation loop. Signed-off-by: Alexandru Cihodaru <cihodar@amazon.com>
AlexandruCihodaru committedDec 22, 2020 -
[aarch64] enable test_older_snapshot_resume_latency
Signed-off-by: Serban Iorga <seriorga@amazon.com>
serban300 committedDec 22, 2020
Commits on Dec 21, 2020
-
CI: disable snapshot perf tests on AMD
There was a bug in the check where we try to disable the snapshot performance related tests on AMD. Signed-off-by: Diana Popa <dpopa@amazon.com>
-
CI: enable snapshot related test on ARM
Enabled load snapshot error handling integration test on arm. Also, used the clasic microvm fixture since the test does not need to clone anything, is just a simple API test. Signed-off-by: Diana Popa <dpopa@amazon.com>
-
CI: create helper function in utils
This function periodically checks whether some process still exists or not. Signed-off-by: Diana Popa <dpopa@amazon.com>
-
ARM: add fatal error handling mechanism
This is the ARM enablement of commit 2672c5d. Signed-off-by: Diana Popa <dpopa@amazon.com>
-
docs: updated prod-host-setup.md
Updated `prod_host_setup.md` with recommendations to control the output of serial device and log file such that users avoid unexpected disk or memory usage on the host when guests flood these with data. Signed-off-by: George Pisaltu <gpl@amazon.com>
-
docs: reference the network connectivity for clones doc in the snap s…
…upport one Signed-off-by: Radu Iliescu <riliescu@amazon.com>
-
docs: add a user guide for ensuring network connectivity for clones
Signed-off-by: Radu Iliescu <riliescu@amazon.com>
-
Add thread name to logger prefix.
As per issue #2117, add capability to logger to log current thread name in the prefix. Add unit test that spawns named thread and checks the logged prefix for that name. Signed-off-by: sundar.preston.789@gmail.com <sundar.preston.789@gmail.com> Co-authored-by: Kevin Guo <kev.guo123@gmail.com> Signed-off-by: sundar.preston.789@gmail.com <sundar.preston.789@gmail.com>
Commits on Dec 18, 2020
-
CI: adjust coverage and startup time for arm
Signed-off-by: Diana Popa <dpopa@amazon.com>
-
jailer: unit test for cache info setup on arm
Signed-off-by: Diana Popa <dpopa@amazon.com>
-
Due to latest changes in the FDT architecture, we need to regenerate the DTB's used in unit tests for validating FDT structure. Signed-off-by: Diana Popa <dpopa@amazon.com>
-
CI: check cache topology for aarch64
Signed-off-by: Diana Popa <dpopa@amazon.com>
-
CI: check cpu features on aarch64
Signed-off-by: Diana Popa <dpopa@amazon.com>
-
CI: move topology related tests to new module
The tests ensuring the correctness of the CPU and cache topology were moved to a new file named "test_topology" for readability reasons. Signed-off-by: Diana Popa <dpopa@amazon.com>
-
CI: use parametrize in cpu feature testing
Instead of defining functions for exercising cpu features use parametrize. Signed-off-by: Diana Popa <dpopa@amazon.com>
-
CI: move function to utils_cpuid
Also renamed the functions to something more suggestive. Signed-off-by: Diana Popa <dpopa@amazon.com>
-
Created a module for holding auxiliary functions for testing cpu features. Moved there the relevant functions. Signed-off-by: Diana Popa <dpopa@amazon.com>
-
jailer: copy cache info into chroot for aarch64
In order to setup the cache topology we need access to the sysfs (i.e /sys/devices/system/cpu/cpuX/cache) cause unfortunately the kernel does not offer the interface for reading cache info (i.e CSSELR_ELI register which is essential for doing that is not exposed). However, once the jailer starts there is no access to the sysfs and this PR helps with copying the minimal number of info which is needed for setting up cache topology through FDT on aarch64. Signed-off-by: Diana Popa <dpopa@amazon.com>
-
jailer: move auxiliary funcs to main
Moved "writeln_special" and "readln_special" to main since these functions can be generally used to read from special files (cgroups dedicated ones or cache dedicated ones). Signed-off-by: Diana Popa <dpopa@amazon.com>
-
jailer: remove superfluous visibility marker
Signed-off-by: Diana Popa <dpopa@amazon.com>
-
A new module was created for reading the cache topology information from the host and parsing it so that it can be appended to the device tree. The cache information is retrieved from the sysfs of the host. Unfortunately, the kernel does not offer the interface for retrieving the necessary registers that hold cache information (i.e CSSELR_EL1). Signed-off-by: Diana Popa <dpopa@amazon.com>
-
fdt: enable PSCI for all vcpus
Signed-off-by: Diana Popa <dpopa@amazon.com>
-
[aarch64][snap] update ICC regs state
Signed-off-by: Serban Iorga <seriorga@amazon.com>