WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] xc_domain_memory_populate_physmap | Number of hypercalls

To: Xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] xc_domain_memory_populate_physmap | Number of hypercalls
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:content-type; bh=bJY129fBI2VEmMXlJgXOoltUuOLMmrnkOm5ZECkYJkM=; b=XWT/Tas2vTzeKJN0Ei/ot3dlUmkfLxkIp8qFpDZryaBJyN+rXp245DQjlQoLQJEFEz KuO3BvcKYTiqA0/AaAMU6O/c4l+zGKK4cQRSJacPfRfpQc25a7zJR6XfHBiU+sISNZSt g/Ny3KFJfjJsiuvZJNJw+t3+qto30RncalQhI=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] xc_domain_memory_populate_physmap | Number of hypercalls, Rakesh Balakrishnan <=