From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Cyd6e-00082c-OK for qemu-devel@nongnu.org; Tue, 08 Feb 2005 16:41:12 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cycol-0007kY-1h for qemu-devel@nongnu.org; Tue, 08 Feb 2005 16:22:43 -0500 Received: from [129.104.30.34] (helo=mx1.polytechnique.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CycK8-00053d-8h for qemu-devel@nongnu.org; Tue, 08 Feb 2005 15:51:04 -0500 Received: from [84.99.204.38] (38.204.99-84.rev.gaoland.net [84.99.204.38]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTP id E38B73316E for ; Tue, 8 Feb 2005 21:51:02 +0100 (CET) Message-ID: <42092673.8010103@bellard.org> Date: Tue, 08 Feb 2005 21:52:03 +0100 From: Fabrice Bellard MIME-Version: 1.0 Subject: Re: [Qemu-devel] linux host, win xp guest, more than 1GB memory References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org james taylor wrote: > I've successfully got xp running as guest os using > qemu-snapshot-2005-02-05_23. > I've patched the code with patches published in this list to enable dma, > windows > says that my disk is dma enabled. > > I would like to specify 2GB ram for the virtual windows machine memory, but > qemu wouldn't let me specify -m 2048 - the command just printed help. > So currently running with 1GB (ie -m 1024) successfully. > > Does anyone have a patch or a tip that will enable me to set up 2GB ram on > the virtual machine? > > (I'm running on a 4GB physical ram box) > > Host is kernel 2.4.27. It should be possible to increase the limit - it was set arbitrarily knowing that the process address space mapping limited the maximum size of mappings. With some small hacks it could be possible to reach about 2.5 GB of emulated RAM with a standard host Linux kernel. The architectural limit of simulated RAM in QEMU is of 4 GB, even with a 64 bit CPU. Fabrice.