From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [Qemu-devel] Re: [PATCH] Make page_find() return 0 for too-large addresses Date: Mon, 15 Sep 2008 10:57:05 -0500 Message-ID: <48CE85D1.6020109@codemonkey.ws> References: <20080912185856.GM3982@blackpad> <48CAC809.5000901@codemonkey.ws> <20080912201406.GA10147@blackpad> <20080912204404.GB10147@blackpad> <48CE7F4A.3060000@codemonkey.ws> <20080915154843.GC12539@blackpad> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; 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 mail-gx0-f16.google.com ([209.85.217.16]:34031 "EHLO mail-gx0-f16.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754204AbYIOP6A (ORCPT ); Mon, 15 Sep 2008 11:58:00 -0400 Received: by gxk9 with SMTP id 9so25318532gxk.13 for ; Mon, 15 Sep 2008 08:57:59 -0700 (PDT) In-Reply-To: <20080915154843.GC12539@blackpad> Sender: kvm-owner@vger.kernel.org List-ID: 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