crosvm/src
David Brazdil ba2f66ae97 Clone host CPU capacity/clusters for --host-cpu-topology
When --host-cpu-topology flag is specified, crosvm will create 1:1
affinity masks between host CPUs and VM's vCPUs. Extend this mechanims
to also pass the cluster IDs and CPU capacity information to the guest.

Same as with --cpu-affinity, the client now cannot specify
--cpu-capacity and --cpu clusters together with --host-cpu-topology.

This only has an effect on DeviceTree-based platforms, same as the two
cmdline flags mentioned above.

Bug: 266664564
Test: ./tools/presubmit

Change-Id: I8f6d5cea7d8861e27f02ec55b50c0d12e1c2866b
Signed-off-by: David Dai <davidai@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4208668
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: David Brazdil <dbrazdil@google.com>
2024-01-12 10:03:55 +00:00
..
crosvm Clone host CPU capacity/clusters for --host-cpu-topology 2024-01-12 10:03:55 +00:00
sys crosvm: log panic even if stderr redirect fails 2024-01-04 22:53:58 +00:00
crosvm.rs crosvm: remove "unix" check from bus lock code 2023-11-01 18:46:03 +00:00
main.rs crosvm: Less messages. 2023-10-31 23:21:16 +00:00
sys.rs Rename "unix" to "linux" in code and docs 2023-10-11 01:15:07 +00:00