vmm: Configure VM on AArch64

Signed-off-by: Michael Zhao <michael.zhao@arm.com>
This commit is contained in:
Michael Zhao
2020-06-09 18:28:02 +08:00
committed by Rob Bradford
parent 917219fa92
commit 5cd1730bc4
6 changed files with 77 additions and 23 deletions

View File

@@ -1000,13 +1000,13 @@ impl CpuManager {
}
#[cfg(target_arch = "aarch64")]
pub fn get_mpidr(&self) -> Vec<u64> {
let vcpu_mpidr = self
pub fn get_mpidrs(&self) -> Vec<u64> {
let vcpu_mpidrs = self
.vcpus
.iter()
.map(|cpu| cpu.lock().unwrap().get_mpidr())
.collect();
vcpu_mpidr
vcpu_mpidrs
}
#[cfg(feature = "acpi")]