mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-12-01 04:28:48 +00:00
1b7d5b8fba
Rather than having a single vcpu_init instance that is used for all VCPUs, make vcpu_init into a Vec so it can store different initial state for each VCPU. This allows us to set up e.g. bootstrap processor state differently than other processors, and it also means that the VcpuInit struct doesn't need to be Copy. BUG=b:237095693 TEST=Boot Linux with >1 CPU Change-Id: I0ebfdc2dbd84d0817e3f75c2c852e4320b9e77c5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3723798 Reviewed-by: Alexandre Courbot <acourbot@chromium.org> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |