WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Memory sharing

To: Lakshitha Harshan <harshan.dll@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Memory sharing
From: Keir Fraser <keir.xen@xxxxxxxxx>
Date: Sun, 03 Apr 2011 09:58:37 +0100
Cc:
Delivery-date: Sun, 03 Apr 2011 02:02:26 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:user-agent:date:subject:from:to:message-id :thread-topic:thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; bh=1/79sWZMRUqLRNorkGuEn6vhM6WGGyloLKUBh4BRf4M=; b=kssaKxFyFQYM6XKHWYbESHkaFtl7tWyO8QyDlKM/mD++NxwBARf9J3Fri0lW7X1uib 27podolzjw5U45ymIKYyQHpiuljRpsrBb+JGiMve17sDIYWKZFjxG2bY7KBA6fIIu3RT Jaj605N181g01gZ+i52uHnodHHq8lM7xikqhA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=user-agent:date:subject:from:to:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=ZRLgXr73zuK0+4hdgL50QbPm1VCaYvXyo9EIRNHRZ0sleRycaB4LqA9zYieSabhPI2 V5DRWgP1rmjBZ/1Q9hw4Z+PwjKgYJeT/y4QegZ26AK9vWnUHTPPWjf3ehx5vPCHaWTkV lwNnx8utQSLJhfFcgoLbQBgk6eQsIr8D5h0bU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BANLkTikvk23AG3xbCUR5t=xYZgFhYD8KRw@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acvx3VGkbmIcV1P6l0W6tsViO7da2A==
Thread-topic: [Xen-devel] Memory sharing
User-agent: Microsoft-Entourage/12.28.0.101117


On 03/04/2011 09:28, "Lakshitha Harshan" <harshan.dll@xxxxxxxxx> wrote:

> Hi,
> 
> Currently i'm going through the source codes of tools/blktap2. I need to
> find-out where blktap2 calls 
> 1. mem_share_nominate()
> 2. mem_sharing_share_page() functions to do the memory sharing on HVM guests.

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 similar
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 <word_to_search_for>

 -- Keir

> Can someone please provide me some guidance on blktap2 driver. 
> 
> Thanks,
> Harshan 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>