mirror of
https://github.com/quickemu-project/quickemu.git
synced 2024-09-20 00:02:03 +02:00
Default to sane disk image size based on OS
This commit is contained in:
parent
01ca84566a
commit
0237499331
3
quickemu
3
quickemu
|
@ -192,15 +192,18 @@ function vm_boot() {
|
|||
case ${guest_os} in
|
||||
linux)
|
||||
CPU="-cpu host,kvm=on"
|
||||
disk="16G"
|
||||
;;
|
||||
macos)
|
||||
CPU="-cpu Penryn,vendor=GenuineIntel,kvm=on,+aes,+avx,+avx2,+bmi1,+bmi2,+fma,+invtsc,+movbe,+pcid,+smep,+sse3,+sse4.2,+xgetbv1,+xsave,+xsavec,+xsaveopt"
|
||||
OSK=$(echo "bheuneqjbexolgurfrjbeqfthneqrqcyrnfrqbagfgrny(p)NccyrPbzchgreVap" | rot13)
|
||||
GUEST_TWEAKS="-device isa-applesmc,osk=${OSK}"
|
||||
disk="64G"
|
||||
;;
|
||||
windows)
|
||||
CPU="-cpu host,kvm=on,hv_time"
|
||||
GUEST_TWEAKS="-no-hpet"
|
||||
disk="64G"
|
||||
;;
|
||||
*)
|
||||
CPU="-cpu host,kvm=on"
|
||||
|
|
Loading…
Reference in New Issue
Block a user