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

Re: [Xen-devel] Issues in call to get_domain_by_id()


  • To: <bhavi63@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
  • Date: Thu, 06 Nov 2008 08:39:05 +0000
  • Cc:
  • Delivery-date: Thu, 06 Nov 2008 00:39:10 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Ack/6yBjXzCPBKveEd2QfwAWy6hiGQ==
  • Thread-topic: [Xen-devel] Issues in call to get_domain_by_id()

On 5/11/08 23:56, "bhavani krishnan" <bhavi63@xxxxxxxxx> wrote:

> I am new to xen. I need to write a program which sits in dom0 and reads the
> domU page tables. I basically need a list of virtual pages which are are
> mapped onto a domU at any instant. Please let me know the best approach to do
> this?
> 
> Currently I am using control interface (libxc) to get list of pfns by calling
> xc_get_pfn_list. The stupid that I am having now is that if i try to call any
> function (eg: get_domain_by_id) defined in sched.h or xen.h, I get following
> error at compile time
> undefined reference to get_domain_by_id'

You can't get at Xen-internal functions from outside Xen.

 -- Keir



_______________________________________________
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®.