|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [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
|
|
|
|
|