Skip to content

Commit

Permalink
nemos-images-reference-lunar: run_x86.sh: enable SMP and KVM
Browse files Browse the repository at this point in the history
Improve the performance of the VM by enabling a second CPU core and KVM.
Additionally, passthrough the host CPU model.

Signed-off-by: Isaac True <[email protected]>
  • Loading branch information
IsaacJT committed Mar 14, 2023
1 parent 9363441 commit cc3bf45
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nemos-images-reference-lunar/run_x86.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ fi

qemu-system-x86_64 \
-m 1G \
--enable-kvm \
--smp 2 \
--cpu host \
-nographic \
-M q35 \
-bios /usr/share/qemu/OVMF.fd \
Expand Down

0 comments on commit cc3bf45

Please sign in to comment.