From e7d8e93cf1268ed6a733bbf52c3e8f83eb2abe8f Mon Sep 17 00:00:00 2001 From: Mikhail Sakhnov Date: Tue, 26 Nov 2024 12:41:05 +0100 Subject: [PATCH] neonvm-runner: add code comments Signed-off-by: Mikhail Sakhnov --- neonvm-runner/cmd/main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/neonvm-runner/cmd/main.go b/neonvm-runner/cmd/main.go index 1fde8ef56..39d85a78d 100644 --- a/neonvm-runner/cmd/main.go +++ b/neonvm-runner/cmd/main.go @@ -1245,8 +1245,10 @@ func getQemuBinaryName(architecture string) string { func getMachineType(architecture string) string { switch architecture { case architectureArm64: + // virt is the most up to date and generic ARM machine architecture return "virt" case architectureAmd64: + // q35 is the most up to date and generic x86_64 machine architecture return "q35" default: panic(fmt.Errorf("unknown architecture %s", architecture))