From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NaEDF-0007K1-1n for qemu-devel@nongnu.org; Wed, 27 Jan 2010 15:10:05 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NaEDA-0007FB-H8 for qemu-devel@nongnu.org; Wed, 27 Jan 2010 15:10:04 -0500 Received: from [199.232.76.173] (port=60166 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NaEDA-0007Ep-6T for qemu-devel@nongnu.org; Wed, 27 Jan 2010 15:10:00 -0500 Received: from mx1.redhat.com ([209.132.183.28]:56744) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NaED9-0003Ow-HJ for qemu-devel@nongnu.org; Wed, 27 Jan 2010 15:09:59 -0500 Date: Wed, 27 Jan 2010 22:06:49 +0200 From: "Michael S. Tsirkin" Message-ID: <20100127200649.GA9105@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] [PATCHv3 0/3] qemu: memory notifiers List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori , qemu-devel@nongnu.org, avi@redhat.com, gleb@redhat.com This patch against qemu upstream adds notifiers hook which lets backends get notified on memory changes, and converts kvm to use it. It survived light testing. Michael S. Tsirkin (3): qemu: memory notifiers kvm: move kvm_set_phys_mem around kvm: move kvm to use memory notifiers cpu-common.h | 19 ++++ exec.c | 110 +++++++++++++++++++-- kvm-all.c | 310 +++++++++++++++++++++++++++++++-------------------------- kvm.h | 8 -- 4 files changed, 289 insertions(+), 158 deletions(-)