Received: from eggs.gnu.org ([2001:4830:134:3::10]:54424) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5Hxp-0004ww-Dp for qemu-devel@nongnu.org; Tue, 24 May 2016 15:26:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b5Hxk-0001jV-CQ for qemu-devel@nongnu.org; Tue, 24 May 2016 15:26:01 -0400 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:36564) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5Hxk-0001jO-48 for qemu-devel@nongnu.org; Tue, 24 May 2016 15:25:56 -0400 Received: by mail-wm0-x22f.google.com with SMTP id n129so146802473wmn.1 for ; Tue, 24 May 2016 12:25:56 -0700 (PDT) Sender: Paolo Bonzini References: <1458900629-2334-1-git-send-email-famz@redhat.com> <1458900629-2334-3-git-send-email-famz@redhat.com> From: Paolo Bonzini Message-ID: <2e36ab08-5ea8-f7f9-64d2-bb1c7e4d3503@redhat.com> Date: Tue, 24 May 2016 21:25:52 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 2/2] memory: Drop FlatRange.romd_mode List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laszlo Ersek , Fam Zheng , qemu-devel@nongnu.org Cc: Peter Maydell , Drew Jones , Ard Biesheuvel On 24/05/2016 19:47, Laszlo Ersek wrote: > Which I think satisfies (a->mr == b->mr), but falsifies (a->romd_mode > == b->romd_mode). > > In effect, the patch seems to allow merging and equality between > FlatRange objects when they only differ in romd_mode, and that's > wrong. > > Given that the cover letter for this series says "memory: Dead code > removals", I'm requesting that this patch be simply reverted. > > Drew and myself bisected this independently, in parallel. The bug was > originally reported by Drew, so I think on the revert commit, the > Reported-by should belong to him. Beyond the bisection, Drew also > tested the exact revert, and it restores functionality. For which > reason, I'm proposing, for the revert patch: > > Reported-by: Drew Jones > Tested-by: Drew Jones > > If my analysis above is correct, then I wouldn't mind taking credit > for it, something like: > > Analyzed-by: Laszlo Ersek That makes a lot of sense. Revert on the way. Thanks, Paolo