crosvm/arch
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
..
src Clone host CPU capacity/clusters for --host-cpu-topology 2024-01-12 10:03:55 +00:00
Cargo.toml Upgrade gdbstub and gdbstub_arch. 2024-01-04 02:06:22 +00:00