A simple, zero-configuration script to quickly boot FreeBSD ISO images using QEMU
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Refactor QEMU command options to use compact syntax for high memory configuration on aarch64 architecture

+4 -4
+2 -2
src/subcommands/start.ts
··· 22 22 ..._.compact( 23 23 Deno.build.os === "darwin" ? ["-accel", "hvf"] : ["-enable-kvm"], 24 24 ), 25 - ..._.compact([ 25 + ..._.compact( 26 26 Deno.build.arch === "aarch64" && ["-machine", "virt,highmem=on"], 27 - ]), 27 + ), 28 28 "-cpu", 29 29 vm.cpu, 30 30 "-m",
+2 -2
src/utils.ts
··· 145 145 ..._.compact( 146 146 Deno.build.os === "darwin" ? ["-accel", "hvf"] : ["-enable-kvm"], 147 147 ), 148 - ..._.compact([ 148 + ..._.compact( 149 149 Deno.build.arch === "aarch64" && ["-machine", "virt,highmem=on"], 150 - ]), 150 + ), 151 151 "-cpu", 152 152 options.cpu, 153 153 "-m",