From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDHdP-0007Cd-VC for qemu-devel@nongnu.org; Wed, 15 Jun 2016 16:42:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bDHdK-0008GZ-0g for qemu-devel@nongnu.org; Wed, 15 Jun 2016 16:41:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37734) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDHdJ-0008GL-RY for qemu-devel@nongnu.org; Wed, 15 Jun 2016 16:41:53 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2CA2BC00E0A7 for ; Wed, 15 Jun 2016 20:41:53 +0000 (UTC) From: Markus Armbruster Date: Wed, 15 Jun 2016 22:41:46 +0200 Message-Id: <1466023310-13221-1-git-send-email-armbru@redhat.com> Subject: [Qemu-devel] [PATCH RFC 0/4] range: Make it simpler & safer List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: eblake@redhat.com, mst@redhat.com, pbonzini@redhat.com This is an RFC because PATCH 2 adds hackery we might not want to commit, and PATCH 3 takes it out again. Prerequisites: * [PATCH 0/3] log: Fix error handling and a memory leak * [PATCH 0/2] Clean up around the PCI holes * [PATCH v2 0/3] Fix leak in handling of integer lists as strings Markus Armbruster (4): log: Clean up misuse of Range for -dfilter range: Eliminate direct Range member access range: Drop the previous commit's trickery range: Replace internal representation of Range hw/i386/acpi-build.c | 35 ++++++++------- hw/pci-host/piix.c | 26 +++++++---- hw/pci-host/q35.c | 41 +++++++++++------ hw/pci/pci.c | 17 ++++---- include/qemu/range.h | 102 ++++++++++++++++++++++++++++++++++++++----- qapi/string-input-visitor.c | 20 ++++----- qapi/string-output-visitor.c | 18 ++++---- tests/test-logging.c | 10 +++++ util/log.c | 27 ++++++------ util/range.c | 16 ++----- 10 files changed, 208 insertions(+), 104 deletions(-) -- 2.5.5