From 95cc190b5419a340859f2fd50adf6f69615d1498 Mon Sep 17 00:00:00 2001 From: EnderIce2 Date: Mon, 10 Mar 2025 01:07:56 +0000 Subject: [PATCH] build(devcontainer): potential fix for "failed to initialize kvm: Permission denied" qemu-system-x86_64: Could not access KVM kernel module: Permission denied qemu-system-x86_64: failed to initialize kvm: Permission denied Signed-off-by: EnderIce2 --- .devcontainer/devcontainer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 068a9ddc..0946553d 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -44,5 +44,6 @@ ], "runArgs": [ "--privileged" - ] + ], + "postAttachCommand": "sudo chmod 666 /dev/kvm" }