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

[Xen-devel] xc_domain_memory_populate_physmap | Number of hypercalls


  • To: Xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Rakesh Balakrishnan <roby.rakesh@xxxxxxxxx>
  • Date: Fri, 9 Apr 2010 12:26:20 +0530
  • Cc:
  • Delivery-date: Fri, 09 Apr 2010 00:00:26 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=s1Bt+47m4//PprwoXRzuUrilm8om1+IwzQLjcmBvCH0WQQ+9SEbPq4z3B/6ejCVa74 YfZZjJOlnBhWst6HjqaD3lz3owZqMfn8Uaz57RortawQC5GNf/HzJwI+09dWjvFrOm8X ox4YtoHgPPw3pUFeJlAS1jCr3LJpAHrv/8W1Q=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi,

I am facing an issue. I am doing a xc_domain_memory_populate_physmap inside the following function in xc_hvm_build.c (xen - 3.4.1)

" static void build_hvm_info(int xc_handle, uint32_t dom, void *hvm_info_page, uint64_t mem_size, uint64_t e820rc)
.
.
.

                if (xc_domain_memory_populate_physmap(xc_handle, dom,
                                         (e820rc_size >> XC_PAGE_SHIFT), /*nr_extents */
                                         0, /*extent_order */
                                         XENMEMF_raid_cache, /* mem_flags */
                                         &page_array[0x00]))
.
.
.
"

I need to know how many hypercalls will it generate ?
Or How many times will it hit the following Switch Case

"
long do_memory_op(unsigned long cmd, XEN_GUEST_HANDLE(void) arg)
{
.
.
    case XENMEM_populate_physmap:
.
.
}
_______________________________________________
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®.