From 6f9f070db1c4af517be93cf07c452e65d8cea8cf Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Mon, 6 Apr 2026 18:46:47 +0200 Subject: qemu: enable multiple cores --- .vscode/tasks.json | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.vscode/tasks.json') diff --git a/.vscode/tasks.json b/.vscode/tasks.json index e07afd2..d673a7a 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -11,6 +11,8 @@ "32M", "-machine", "q35", + "-smp", + "4,sockets=1,cores=4,threads=1", "-display", "curses", "-debugcon", @@ -52,6 +54,8 @@ "32M", "-machine", "q35", + "-smp", + "4,sockets=1,cores=4,threads=1", "-display", "curses", "-debugcon", -- cgit v1.2.3 From 3bf3c748eec38c776dd3c54cbb30be1d44ffb5c3 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Tue, 7 Apr 2026 14:01:18 +0200 Subject: ide: simplify overall configuration --- .vscode/tasks.json | 36 +++++++----------------------------- 1 file changed, 7 insertions(+), 29 deletions(-) (limited to '.vscode/tasks.json') diff --git a/.vscode/tasks.json b/.vscode/tasks.json index d673a7a..1aa53d9 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -6,23 +6,10 @@ "command": "${workspaceFolder}/scripts/qemu-wrapper.sh", "type": "shell", "args": [ - "-s", - "-m", - "32M", - "-machine", - "q35", - "-smp", - "4,sockets=1,cores=4,threads=1", - "-display", - "curses", - "-debugcon", - "file:${workspaceFolder}/qemu-debugcon-${command:cmake.buildType}.log", - "-no-reboot", - "-d", - "int,cpu_reset", - "-cdrom", + "${workspaceFolder}", + "${command:cmake.buildType}", "${command:cmake.buildDirectory}/bin/${command:cmake.buildType}/kernel.iso", - "2>${workspaceFolder}/qemu-stderr-${command:cmake.buildType}.log" + "1" ], "isBackground": true, "presentation": { @@ -47,22 +34,13 @@ }, { "label": "QEMU", - "command": "qemu-system-x86_64", + "command": "${workspaceFolder}/scripts/qemu-wrapper.sh", "type": "shell", "args": [ - "-m", - "32M", - "-machine", - "q35", - "-smp", - "4,sockets=1,cores=4,threads=1", - "-display", - "curses", - "-debugcon", - "file:${workspaceFolder}/qemu-debugcon-${command:cmake.buildType}.log", - "-cdrom", + "${workspaceFolder}", + "${command:cmake.buildType}", "${command:cmake.buildDirectory}/bin/${command:cmake.buildType}/kernel.iso", - "2>${workspaceFolder}/qemu-stderr-${command:cmake.buildType}.log" + "0" ], "isBackground": true, "presentation": { -- cgit v1.2.3