summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2023-07-09 19:50:43 +0300
committerLars Wirzenius <liw@liw.fi>2023-07-09 19:50:43 +0300
commit7bed07b0423b2c1e06ec7bd6fb7c41e736846d4c (patch)
treeb1d0388a6d550a3673377ce5f96ee2d5bfda8643
parent0644a771a398ec403816da382ca00a81782bb93f (diff)
downloadambient-ci-7bed07b0423b2c1e06ec7bd6fb7c41e736846d4c.tar.gz
feat: give VM more resources
I'm building various Rust things with ambient-run and it needs resources. Sponsored-by: author
-rwxr-xr-xambient-run4
1 files changed, 3 insertions, 1 deletions
diff --git a/ambient-run b/ambient-run
index d812232..bd277f9 100755
--- a/ambient-run
+++ b/ambient-run
@@ -128,7 +128,9 @@ def main():
argv = [
"kvm",
"-m",
- "4096",
+ "16384",
+ "-smp",
+ "cpus=4",
"-drive",
f"if=pflash,format=raw,unit=0,file={OVMF_FD},readonly=on",
"-drive",