From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH 0/2] page track add notifier type track_flush_slot Date: Mon, 10 Oct 2016 19:06:01 +0200 Message-ID: <9c7b2357-9e36-1990-30a9-0442b6c337cf@redhat.com> References: <1475998904-13456-1-git-send-email-xiaoguang.chen@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: Xiaoguang Chen , kvm@vger.kernel.org, guangrong.xiao@intel.com, jike.song@intel.com Return-path: Received: from mx1.redhat.com ([209.132.183.28]:43126 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752245AbcJJRGF (ORCPT ); Mon, 10 Oct 2016 13:06:05 -0400 In-Reply-To: <1475998904-13456-1-git-send-email-xiaoguang.chen@intel.com> Sender: kvm-owner@vger.kernel.org List-ID: On 09/10/2016 09:41, Xiaoguang Chen wrote: > The seires is to add a new notifer type track_flush_slot for page track. > By using this notifer type when a memory slot is being moved or removed > users of page track can be notified. > > This notifier type is needed by KVMGT to sync up its shadow page table > when memory slot is being moved or removed. > > Xiaoguang Chen (2): > KVM: page track: add a new notifier type: track_flush_slot > KVM: MMU: apply page track notifier type track_flush_slot > > arch/x86/include/asm/kvm_page_track.h | 9 +++++++++ > arch/x86/kvm/mmu.c | 7 +++++++ > arch/x86/kvm/page_track.c | 25 +++++++++++++++++++++++++ > arch/x86/kvm/x86.c | 2 +- > 4 files changed, 42 insertions(+), 1 deletion(-) > Hi, the two patches should be squashed for bisectability (alternatively, do not remove the call to kvm_mmu_invalidate_zap_all_pages in patch 1, and only drop it in patch 2). Paolo