frnmst-archives
/
qvm
Archived
1
0
Fork 0
Browse Source

Added smp option.

dev 0.0.1
Franco Masotti 4 years ago
parent
commit
2608410e65
  1. 4
      configvmrc
  2. 1
      qvm

4
configvmrc

@ -16,6 +16,10 @@ vhd_size="16G"
vhd_type="qcow2"
vhd_name=""$img_name"."$vhd_type""
# Total number of cores assigned to the vm.
# You should set the appropriate number to have a better experience.
number_of_cores="1"
# Total RAM assigned to the vm.
vm_memory="4G"

1
qvm

@ -157,6 +157,7 @@ id=user.0,hostfwd=tcp::"$host_port"-:"$guest_port",\
hostfwd=tcp::"$ssh_host_port"-:"$ssh_guest_port" \
-virtfs local,path="$shared_data_path",\
security_model=none,mount_tag="$mount_tag" \
-smp "$number_of_cores" \
-soundhw ac97 \
-display "$display" \
-drive file="$vhd" &