crosvm/arch
Alexandre Courbot 4b7bfe1eb3 crosvm: custom Serialize and Deserialize implementations for CpuSet
For convenience, a set of CPU cores can be specified as a sequence of
elements which can be either a single integer, or a string of the form
"start-end" in order to specify a range.

This will allow us to create CPU clusters from the `--cpu` parameter or
from the JSON configuration file in a future CL.

BUG=b:255223604
TEST=cargo test

Change-Id: I55675fcb8645fea1fe59540cb6f2affb900edc50
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4060600
Commit-Queue: Alexandre Courbot <acourbot@chromium.org>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
2022-12-01 02:02:55 +00:00
..
src crosvm: custom Serialize and Deserialize implementations for CpuSet 2022-12-01 02:02:55 +00:00
Cargo.toml crosvm: custom Serialize and Deserialize implementations for CpuSet 2022-12-01 02:02:55 +00:00