From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KeEfv-00022Z-W5 for qemu-devel@nongnu.org; Fri, 12 Sep 2008 15:51:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KeEfu-00022J-GR for qemu-devel@nongnu.org; Fri, 12 Sep 2008 15:51:27 -0400 Received: from [199.232.76.173] (port=48121 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KeEfu-00022G-Ab for qemu-devel@nongnu.org; Fri, 12 Sep 2008 15:51:26 -0400 Received: from rn-out-0910.google.com ([64.233.170.186]:7227) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KeEfu-0007cJ-Rw for qemu-devel@nongnu.org; Fri, 12 Sep 2008 15:51:26 -0400 Received: by rn-out-0910.google.com with SMTP id m61so1589031rnd.8 for ; Fri, 12 Sep 2008 12:51:24 -0700 (PDT) Message-ID: <48CAC809.5000901@codemonkey.ws> Date: Fri, 12 Sep 2008 14:50:33 -0500 From: Anthony Liguori MIME-Version: 1.0 References: <20080912185856.GM3982@blackpad> In-Reply-To: <20080912185856.GM3982@blackpad> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH] Make page_find() return 0 for too-large addresses Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Habkost Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org, gcosta@redhat.com Eduardo Habkost wrote: > On some cases, such as under KVM, tb_invalidate_phys_page_range() > may be called for large addresses, when qemu is configured to more than > 4GB of RAM. > > On these cases, qemu was crashing because it was using an index too > large for l1_map[], that supports only 32-bit addresses when compiling > without CONFIG_USER_ONLY. > Did you have kqemu enabled in the build? l1_map should be sufficiently large when you have kqemu disabled. Regards, Anthony Liguori