From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KfGSg-0003EM-0v for qemu-devel@nongnu.org; Mon, 15 Sep 2008 11:58:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KfGSd-0003D5-VM for qemu-devel@nongnu.org; Mon, 15 Sep 2008 11:58:01 -0400 Received: from [199.232.76.173] (port=50360 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KfGSd-0003Cz-OY for qemu-devel@nongnu.org; Mon, 15 Sep 2008 11:57:59 -0400 Received: from yx-out-1718.google.com ([74.125.44.152]:19224) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KfGSd-000674-QU for qemu-devel@nongnu.org; Mon, 15 Sep 2008 11:57:59 -0400 Received: by yx-out-1718.google.com with SMTP id 3so635650yxi.82 for ; Mon, 15 Sep 2008 08:57:58 -0700 (PDT) Message-ID: <48CE85D1.6020109@codemonkey.ws> Date: Mon, 15 Sep 2008 10:57:05 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: [PATCH] Make page_find() return 0 for too-large addresses References: <20080912185856.GM3982@blackpad> <48CAC809.5000901@codemonkey.ws> <20080912201406.GA10147@blackpad> <20080912204404.GB10147@blackpad> <48CE7F4A.3060000@codemonkey.ws> <20080915154843.GC12539@blackpad> In-Reply-To: <20080915154843.GC12539@blackpad> Content-Type: text/plain; charset=ISO-8859-1; 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: Eduardo Habkost Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org, gcosta@redhat.com Eduardo Habkost wrote: > On Mon, Sep 15, 2008 at 10:29:14AM -0500, Anthony Liguori wrote: > >> Eduardo Habkost wrote: >> > > >>> New patch, reusing the range check from page_find_alloc() on >>> page_find(). Untested. >>> >>> >> Have you tested this patch yet? I like to avoid being the first one to >> test something when it's not my code :-) >> > > I've tested it now, both with KVM enabled and with KVM disabled. My > machine didn't explode yet, so it seems to be fine. :) > Applied. Thanks. Regards, Anthony Liguori