From 2df46545559bb6452c4d4d0ab1e2c96ceff41b33 Mon Sep 17 00:00:00 2001 From: Hector Martin Date: Mon, 3 May 2021 21:48:32 +0900 Subject: [PATCH] hv.py: Disable secondary CPUs for now Signed-off-by: Hector Martin --- proxyclient/hv.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/proxyclient/hv.py b/proxyclient/hv.py index bbbe92f9..bdddcc84 100644 --- a/proxyclient/hv.py +++ b/proxyclient/hv.py @@ -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...")