From 7780ee6a34e34a1bcb9ea88ba553ef6882b6cc9c Mon Sep 17 00:00:00 2001 From: Stefan Kalkowski Date: Thu, 23 Jan 2020 15:02:56 +0100 Subject: [PATCH] vmm: do not lock inside VMM We do not use the VMM with several CPUs until now. On the other hand there is a dead-lock due to the generic timer calling the cpu handler function explicitly, which already holds the lock. For the time-being remove the lock. Ref #3620 --- repos/os/src/server/vmm/spec/arm_v8/cpu.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/repos/os/src/server/vmm/spec/arm_v8/cpu.h b/repos/os/src/server/vmm/spec/arm_v8/cpu.h index 664059ddc..f0804beb7 100644 --- a/repos/os/src/server/vmm/spec/arm_v8/cpu.h +++ b/repos/os/src/server/vmm/spec/arm_v8/cpu.h @@ -70,8 +70,6 @@ class Vmm::Cpu template void handle_signal(FUNC handler) { - Genode::Lock::Guard guard(lock()); - if (active()) { pause(); handle_exception();