mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: Configure VM on AArch64
Signed-off-by: Michael Zhao <michael.zhao@arm.com>
This commit is contained in:
committed by
Rob Bradford
parent
917219fa92
commit
5cd1730bc4
@@ -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")]
|
||||
|
||||
Reference in New Issue
Block a user