Files
kata-containers/src/libs
Yushuo aaa96c749b feat(runtime-rs): modify onlineCpuMemRequest
Some vmms, such as dragonball, will actively help us
perform online cpu operations when doing cpu hotplug.
Under the old onlineCpuMem interface, it is difficult
to adapt to this situation.

So we modify the semantics of nb_cpus in onlineCpuMemRequest.
In the original semantics, nb_cpus represents the number of
newly added CPUs that need to be online. The modified
semantics become that the number of online CPUs in the guest
needs to be guaranteed.

Fixes: #5030

Signed-off-by: Yushuo <y-shuo@linux.alibaba.com>
Signed-off-by: Ji-Xinyou <jerryji0414@outlook.com>
2023-06-12 17:53:16 +08:00
..
2023-04-10 09:53:43 +08:00
2023-06-05 21:48:36 +08:00

The src/libs directory hosts library crates which may be shared by multiple Kata Containers components or published to crates.io.

Library Crates

Currently it provides following library crates:

Library Description
logging Facilities to setup logging subsystem based on slog.
system utilities Collection of facilities and helpers to access system services.
types Collection of constants and data types shared by multiple Kata Containers components.
safe-path Utilities to safely resolve filesystem paths.
test utilities Utilities to share test code.