hv.py: Disable secondary CPUs for now

Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
Hector Martin 2021-05-03 21:48:32 +09:00
parent 95542a4619
commit 2df4654555

View file

@ -81,6 +81,11 @@ class HV:
print(f"Removing ADT node /arm-io/{name}")
del self.adt["arm-io"][name]
for cpu in list(self.adt["cpus"]):
if cpu.name != "cpu0":
print(f"Removing ADT node {cpu._path}")
del self.adt["cpus"][cpu.name]
self.u.push_adt()
print(f"Setting up bootargs...")