mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-22 14:43:08 +00:00
hv.py: remove secondary CPU cores unconditionally from the ADT
Signed-off-by: Janne Grunau <j@jannau.net>
This commit is contained in:
parent
98076ef693
commit
d88e255c56
1 changed files with 13 additions and 13 deletions
|
@ -912,19 +912,19 @@ class HV(Reloadable):
|
|||
del self.adt[name]
|
||||
except KeyError:
|
||||
pass
|
||||
for name in ("/cpus/cpu1",
|
||||
"/cpus/cpu2",
|
||||
"/cpus/cpu3",
|
||||
"/cpus/cpu4",
|
||||
"/cpus/cpu5",
|
||||
"/cpus/cpu6",
|
||||
"/cpus/cpu7",
|
||||
):
|
||||
print(f"Removing ADT node {name}")
|
||||
try:
|
||||
del self.adt[name]
|
||||
except KeyError:
|
||||
pass
|
||||
for name in ("/cpus/cpu1",
|
||||
"/cpus/cpu2",
|
||||
"/cpus/cpu3",
|
||||
"/cpus/cpu4",
|
||||
"/cpus/cpu5",
|
||||
"/cpus/cpu6",
|
||||
"/cpus/cpu7",
|
||||
):
|
||||
print(f"Removing ADT node {name}")
|
||||
try:
|
||||
del self.adt[name]
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
#for cpu in list(self.adt["cpus"]):
|
||||
#if cpu.name != "cpu0":
|
||||
|
|
Loading…
Reference in a new issue