From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [PATCH] Make page_find() return 0 for too-large addresses Date: Fri, 12 Sep 2008 14:50:33 -0500 Message-ID: <48CAC809.5000901@codemonkey.ws> References: <20080912185856.GM3982@blackpad> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org, gcosta@redhat.com To: Eduardo Habkost Return-path: Received: from an-out-0708.google.com ([209.85.132.246]:54238 "EHLO an-out-0708.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752615AbYILTv0 (ORCPT ); Fri, 12 Sep 2008 15:51:26 -0400 Received: by an-out-0708.google.com with SMTP id d40so123561and.103 for ; Fri, 12 Sep 2008 12:51:24 -0700 (PDT) In-Reply-To: <20080912185856.GM3982@blackpad> Sender: kvm-owner@vger.kernel.org List-ID: 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