diff options
author | Andreas Fankhauser hiddenalpha.ch | 2023-08-06 21:58:27 +0200 |
---|---|---|
committer | Andreas Fankhauser hiddenalpha.ch | 2023-08-06 21:58:27 +0200 |
commit | 9dc65988623e38dea06195dd3a5ac709b6ebc165 (patch) | |
tree | f0e22254088b2f034c352213c51e76c197495611 | |
parent | adc46dd6b0e3de26663fa541bee2879654d2d7ce (diff) | |
download | UnspecifiedGarbage-9dc65988623e38dea06195dd3a5ac709b6ebc165.zip UnspecifiedGarbage-9dc65988623e38dea06195dd3a5ac709b6ebc165.tar.gz |
(qemu) Fine-tune.
-rw-r--r-- | doc/note/qemu/qemu.txt | 6 |
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 |