summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Fankhauser hiddenalpha.ch2023-08-06 21:58:27 +0200
committerAndreas Fankhauser hiddenalpha.ch2023-08-06 21:58:27 +0200
commit9dc65988623e38dea06195dd3a5ac709b6ebc165 (patch)
treef0e22254088b2f034c352213c51e76c197495611
parentadc46dd6b0e3de26663fa541bee2879654d2d7ce (diff)
downloadUnspecifiedGarbage-9dc65988623e38dea06195dd3a5ac709b6ebc165.zip
UnspecifiedGarbage-9dc65988623e38dea06195dd3a5ac709b6ebc165.tar.gz
(qemu) Fine-tune.
-rw-r--r--doc/note/qemu/qemu.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/note/qemu/qemu.txt b/doc/note/qemu/qemu.txt
index 7b7aece..d643800 100644
--- a/doc/note/qemu/qemu.txt
+++ b/doc/note/qemu/qemu.txt
@@ -15,7 +15,7 @@ Qemu
## amd64
# Choose whichever fits the need
- && MACHINE="-m size=4G" \
+ && MACHINE="-m size=4G -smp cores=2" \
&& HDAIMG="-hda path/to/maindisk.qcow2" \
&& BIOSDIR="path/to/Bios"
&& BIOSFILE="path/to/bios-256k.bin" \
@@ -66,6 +66,10 @@ In GUEST to access it do:
mkdir /mnt/host
mount -t nfs -o vers=3 10.0.2.2:/path/to/share /mnt/host
+Keep build result inside vm:
+ mkdir /tmp/build /mnt/host/build
+ mount --bind /tmp/build /mnt/host/build
+
## Alpine PostInstall