[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Memory sharing


  • To: Lakshitha Harshan <harshan.dll@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acvx3VGkbmIcV1P6l0W6tsViO7da2A==
  • Thread-topic: [Xen-devel] Memory sharing



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.