xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Keir Fraser <keir.xen@gmail.com>
To: Lakshitha Harshan <harshan.dll@gmail.com>, xen-devel@lists.xensource.com
Subject: Re: Memory sharing
Date: Sun, 03 Apr 2011 09:58:37 +0100	[thread overview]
Message-ID: <C9BDF54D.15CB7%keir.xen@gmail.com> (raw)
In-Reply-To: <BANLkTikvk23AG3xbCUR5t=xYZgFhYD8KRw@mail.gmail.com>




On 03/04/2011 09:28, "Lakshitha Harshan" <harshan.dll@gmail.com> 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@lists.xensource.com
> http://lists.xensource.com/xen-devel

  reply	other threads:[~2011-04-03  8:58 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-03  8:28 Memory sharing Lakshitha Harshan
2011-04-03  8:58 ` Keir Fraser [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-04-09  6:37 Memory Sharing Lakshitha Harshan
2011-04-09  8:36 ` Keir Fraser
2011-04-26  9:52 Lakshitha Harshan
2011-05-03  4:49 Lakshitha Harshan
2011-05-03 12:05 ` Tim Deegan
2011-05-24  7:17 Lakshitha Harshan
2011-05-24  9:19 ` Tim Deegan
2011-06-01  3:45 Lakshitha Harshan
2011-06-01  9:46 ` Tim Deegan
2011-06-14  5:04 Lakshitha Harshan
2011-06-14  8:10 ` Tim Deegan
2011-06-16 14:15 Lakshitha Harshan
2011-06-19 23:34 ` Jui-Hao Chiang
2011-07-26  7:33 Lakshitha Harshan
2011-07-26  9:51 ` Tim Deegan
2016-02-04 21:04 hanji unit
2016-02-05  0:29 ` Tamas K Lengyel
2016-02-05 10:40 ` David Vrabel
2016-04-18 16:19 memory sharing sepanta s

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C9BDF54D.15CB7%keir.xen@gmail.com \
    --to=keir.xen@gmail.com \
    --cc=harshan.dll@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).