From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KxRdS-0004vk-9i for qemu-devel@nongnu.org; Tue, 04 Nov 2008 14:32:18 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KxRdO-0004uK-SJ for qemu-devel@nongnu.org; Tue, 04 Nov 2008 14:32:17 -0500 Received: from [199.232.76.173] (port=50526 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KxRdN-0004u6-UW for qemu-devel@nongnu.org; Tue, 04 Nov 2008 14:32:14 -0500 Received: from yw-out-1718.google.com ([74.125.46.158]:14656) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KxRdN-0003My-Uf for qemu-devel@nongnu.org; Tue, 04 Nov 2008 14:32:14 -0500 Received: by yw-out-1718.google.com with SMTP id 6so1158744ywa.82 for ; Tue, 04 Nov 2008 11:32:10 -0800 (PST) Message-ID: <4910A336.908@codemonkey.ws> Date: Tue, 04 Nov 2008 13:32:06 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: When should I use qemu_ram_alloc(), and how? References: <490D0C8F.9010601@juno.dti.ne.jp> <200811041527.mA4FRPo2005575@smtp12.dti.ne.jp> In-Reply-To: Content-Type: text/plain; charset=UTF-8; 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 Cc: "takasi-y@ops.dti.ne.jp" Blue Swirl wrote: > On 11/4/08, takasi-y@ops.dti.ne.jp wrote: > > >> - pci_register_io_region((PCIDevice *)d, 0, 0x2000000, >> + pci_register_io_region((PCIDevice *)d, 0, vga_ram_size, No, I think this is wrong. The PCI IO region is independent of vga_ram_size. Regards, Anthony Liguori