commit | 7d1e5ec59e9372392a2d77c4ace34fe44e3415b9 | [log] [tgz] |
---|---|---|
author | David Brazdil <dbrazdil@google.com> | Mon Feb 06 17:56:29 2023 +0000 |
committer | David Brazdil <dbrazdil@google.com> | Thu Feb 09 08:13:44 2023 +0000 |
tree | 22f07acbec3302483731d255d5278fe158798ba3 | |
parent | 440f6c1820b18bd1faf3e44b86e3465ffc733ed3 [diff] |
Refactor VM config to support different CPU topologies This is preliminary work to support crosvm's --host-cpu-topology (WIP), which will make it possible to mirror host's CPU topology in the guest. As a first step, we refactor AVF's system API to stop accepting number of vCPUs as an argument, but instead only expose two topology configs: 1 vCPU (default) and matching the host's CPU topology. For the time being, the latter results in crosvm started with `--cpu <nproc>`. Bug: 266664564 Test: atest -p packages/modules/Virtualization:avf-presubmit Change-Id: I03a37be0b68b93dc0fa6e84fd51ca3bdefbe6dde
This repository contains userspace services related to running virtual machines on Android, especially protected virtual machines. See the getting started documentation and Microdroid README for more information.