From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: Memory sharing Date: Sun, 03 Apr 2011 09:58:37 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Lakshitha Harshan , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 03/04/2011 09:28, "Lakshitha Harshan" wrote: > Hi, >=20 > Currently i'm going through the source codes of tools/blktap2. I need to > find-out where blktap2 calls=A0 > 1. mem_share_nominate() > 2.=A0mem_sharing_share_page() functions to do the memory sharing on HVM gue= sts. Use recursive grep or similar to find uses of those functions in Xen. Find out what DOMCTL command they are associated with, search for that in simila= r way in tools/libxc directory, search for uses of the libxc interface function elsewhere in tools/, and so on. You'll find mem_sharing_share_page will take you from Xen to tools/libxc to tools/memshr to tools/blktap2. find . -name '*.c' | xargs grep -n -- Keir > Can someone please provide me some guidance on blktap2 driver.=A0 >=20 > Thanks, > Harshan=A0 >=20 >=20 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel