ram size too large #75
Comments
Hi, Based on the command you pasted on the issue, you are creating a guest machine with 2048 mb of physical memory. Nevertheless, QEMU/PyREBox is telling you that at most 2047 MB can be simulated. Based on what you said in issue #76, you are installing PyREBox on a Debian VM. How much physical memory did you assign to that Debian VM? Note that the Debian system (under vmware), must have enough memory to hold the guest QEMU system (4G), + the debian operating system, + the QEMU process itself. For a 4GB Windows 7, I would assign at least, 8 GB to the Debian system. I am closing this issue and following up on #76. Reopen this issue if adding more memory to the Debian system doesn't work for you. |
|
Ok, I am reopening the issue myself to take a look and see why it is not supporting more than 2047mb of ram |
Hi, this might be the explanation to your RAM problem: Line 4515 in d46ca5d
Is your Debian VM a 32 bit OS? If so, that would explain why you cannot allocate more then 2GB of RAM, and also why the system is specially slow, as emulated 64 bit instructions are being translated to a 32 bit target. |
I'm sorry to waste your time.I did install a 32-bit system.I didn't notice that the mirror I downloaded was 32-bit. |
No worries :), I will close this issue then. Please reopen it if needed. |
I want to simulate win7x64.My host system is debian.I want to set the guest's memory size to 4G.But it prompts me to support up to 2047MB.What happened?
(pyrebox_venv) root@debian:/home/author/Downloads/pyrebox# ./pyrebox-x86_64 -m 2048 -monitor stdio -usb -drive file=images/Windows7x64.qcow2,index=0,media=disk,format=qcow2,cache=unsafe -cdrom images/Windows7x64.iso -boot d
[] Loading python component initialization script
[] Platform: x86_64-softmmu
[] Starting python module initialization
[] Reading configuration from 'pyrebox.conf'
[] Searching for KDBG...
[] Initializing scripts...
[] Loading python module plugins.guest_agent
[plugins.guest_agent] [] Initializing guest_agent plugin
[] Loading python module mw_monitor.mw_monitor
[] Module plugins.guest_agent already imported, did you want to reload it instead?
[mw_monitor.mw_monitor] Reading mw_monitor configuration...
[mw_monitor.mw_monitor] Copying host file to guest, using agent...
[mw_monitor.mw_monitor] Initializing callbacks
[mw_monitor.mw_monitor] No process matching that process name, deferring process detection
[mw_monitor.mw_monitor] Initializing process creation callback
[mw_monitor.mw_monitor] Adding dumper commands
[mw_monitor.mw_monitor] Initialized callbacks
[*] Finished python module initialization
qemu-system-x86_64: at most 2047 MB RAM can be simulated
The text was updated successfully, but these errors were encountered: