mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
fdt: add PMU node to fdt
PMU node in fdt stores some important info like irq number. Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
This commit is contained in:
@@ -1172,6 +1172,7 @@ impl Vm {
|
||||
virtio_iommu_bdf.map(|bdf| bdf.into()),
|
||||
&*gic_device,
|
||||
&self.numa_nodes,
|
||||
pmu_supported,
|
||||
)
|
||||
.map_err(Error::ConfigureSystem)?;
|
||||
|
||||
@@ -2791,6 +2792,7 @@ mod tests {
|
||||
&Vec::new(),
|
||||
&BTreeMap::new(),
|
||||
None,
|
||||
true,
|
||||
)
|
||||
.is_ok())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user