From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neo Jia Subject: Re: [PATCH 0/2] extend page_track for external usage Date: Tue, 25 Oct 2016 09:42:24 -0700 Message-ID: <20161025164224.GA27343@nvidia.com> References: <1477381843-18375-1-git-send-email-jike.song@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: , , , , , To: Jike Song Return-path: Received: from hqemgate16.nvidia.com ([216.228.121.65]:1333 "EHLO hqemgate16.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S941857AbcJYQm1 (ORCPT ); Tue, 25 Oct 2016 12:42:27 -0400 Content-Disposition: inline In-Reply-To: <1477381843-18375-1-git-send-email-jike.song@intel.com> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Oct 25, 2016 at 03:50:41PM +0800, Jike Song wrote: > page_track is currently used only by KVM internally to protect guest > page tables. To be used by external user like KVMGT, the callbacks > should carry more information other than KVM/VCPU, and the symbols > should be exported. > > Jike Song (2): > kvm/page_track: call notifiers with kvm_page_track_notifier_node > kvm/page_track: export symbols for external usage > > arch/x86/include/asm/kvm_page_track.h | 7 +++++-- > arch/x86/kvm/mmu.c | 6 ++++-- > arch/x86/kvm/page_track.c | 8 ++++++-- > 3 files changed, 15 insertions(+), 6 deletions(-) Hi Jike, What is the plan of providing this functionality to the VFIO based mediated vendor driver? JFYI, this is a useful feature that NVIDIA vGPU also needs. Thanks, Neo > > -- > 1.9.1 > > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html