From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:50040) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rv9Re-00013o-I7 for qemu-devel@nongnu.org; Wed, 08 Feb 2012 10:28:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rv9RP-00005X-UB for qemu-devel@nongnu.org; Wed, 08 Feb 2012 10:28:30 -0500 Received: from mx1.redhat.com ([209.132.183.28]:38253) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rv9RP-00005B-Lp for qemu-devel@nongnu.org; Wed, 08 Feb 2012 10:28:15 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q18FSEps010303 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 8 Feb 2012 10:28:14 -0500 Received: from cleopatra.tlv.redhat.com (cleopatra.tlv.redhat.com [10.35.255.11]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q18FSCDj030260 for ; Wed, 8 Feb 2012 10:28:13 -0500 From: Avi Kivity Date: Wed, 8 Feb 2012 17:27:49 +0200 Message-Id: <1328714879-18906-1-git-send-email-avi@redhat.com> Subject: [Qemu-devel] [PATCH 00/10] Remove AddressSpaceOps List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This patchset makes the memory core (memory.c) talk to the backend (in exec.c) via a MemoryListener instead of named functions. While the motivation for this is to simplify the memory core, it also enables optimizing accelerators some more (by having a tcg MemoryListener to do tcg specific core) and allows unit testing of memory.c (by adding a testing MemoryListener and seeing what it outputs as various inputs are fed into the core). Avi Kivity (10): ioport: change portio_list not to use memory_region_set_offset() memory: remove memory_region_set_offset() memory: add shorthand for invoking a callback on all listeners memory: switch memory listeners to a QTAILQ memory: code motion: move MEMORY_LISTENER_CALL() memory: move ioeventfd ops to MemoryListener memory: add a readonly attribute to MemoryRegionSection memory: don't pass ->readable attribute to cpu_register_physical_memory_log memory: use a MemoryListener for core memory map updates too memory: drop AddressSpaceOps exec-obsolete.h | 5 +- exec.c | 77 +++++++++++++++- hw/vhost.c | 15 +++ ioport.c | 25 ++++- ioport.h | 1 + kvm-all.c | 79 +++++++++++++++ memory.c | 288 ++++++++++++++++++------------------------------------- memory.h | 19 ++-- xen-all.c | 15 +++ 9 files changed, 310 insertions(+), 214 deletions(-) -- 1.7.9