Skip to content

Commit

Permalink
fix: Improve qemu performance
Browse files Browse the repository at this point in the history
  • Loading branch information
Xtr126 committed Oct 29, 2023
1 parent bad6eda commit 8578f14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src-tauri/src/qemu_install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ else
fi
{env_vars} exec qemu-system-x86_64 -enable-kvm -cpu host -smp {cpus} -m {memsize_mb}M \
-drive index=0,if=virtio,id=system,file="{install_dir}"/$system_img,format=raw,cache=none,readonly=on \
-drive index=1,if=virtio,id=data,file="{install_dir}/data.img",format=raw,cache=none \
-drive index=0,if=virtio,id=system,file="{install_dir}"/$system_img,format=raw,readonly=on \
-drive index=1,if=virtio,id=data,file="{install_dir}/data.img",format=raw \
-display {display_type},gl={use_gl} \
-device virtio-vga-gl,xres={x_res},yres={y_res} \
-net nic,model=virtio-net-pci {net_user_hostfwd} \
Expand Down

0 comments on commit 8578f14

Please sign in to comment.