-
-
Notifications
You must be signed in to change notification settings - Fork 477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: RAM allocation for macOS and Windows VMs can prevent VMs from booting #1191
Comments
Workaround You can workaround this issue by modifying the VM configuration and adding The logic you quoted is correct, but the error message is not clear. The intent here is to stop Windows and macOS VMs from running when there is not adequate RAM allocated to them. Based on the RAM in your host computer, the VM RAM allocation calculated by I'll have a think about the best way to allocate guest VM RAM to macOS and Windows also how to present this error/warning. |
The VMs will boot with less than 8GB of RAM, correct? Windows has a 4GB requirement if I'm not mistaken. It should probably present a warning (i.e. "It is highly recommended to allocate at least 8GB of RAM to ${guest_os} VMs") rather than exiting with an error. |
Hi, thanks. In my experiences Windows 10 VM run fine on 4GB of RAM, but now i have configure 8GB of RAM on VM that not really need. |
I bumped the RAM requirement for macOS. I'll modify the conditional so the allocation for macOS and Windows is different. |
Here is my proposed fix @bennydente. Feedback welcome 👍 |
Expected behavior
running "./quickemu --vm windows-10.conf --display spice" should run windows VM
Actual behavior
running "./quickemu --vm windows-10.conf --display spice" show error:
Quickemu 4.9.4 using /usr/bin/qemu-system-x86_64 v8.2.2
ERROR! You have insufficient RAM to run windows in a VM
Steps to reproduce the behavior
./quickemu --vm windows-10.conf --display spice
Additional context
I thing in this code:
RAM_VM should be RAM_HOST
System Information
Distro: Fedora Linux 40 (Workstation Edition)
Kernel: Linux 6.8.8-300.fc40.x86_64 x86_64
Memory: 16G
GPU:
The text was updated successfully, but these errors were encountered: