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] where is hypercall page initialized?

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] where is hypercall page initialized?
From: "Wu Bingzheng" <wubingzheng@xxxxxxx>
Date: Mon, 29 Dec 2008 11:11:45 +0800 (CST)
Delivery-date: Sun, 28 Dec 2008 19:12:23 -0800
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 men,

I am trying to find the course of creating a DomU, beginning from 'xm create'.
But Xm and Xend are too complex for me too follow exactly,  I am blocked
at the question: where is the hypercall-page initialized.

At Xen 3.3.0, do the DomUs share a same hypercall-page, or each DomU owns one?

* If the former case is right, where is the hypercall-page mapped to DomU's address space?

* If the later case is right, where is the hypercall-page initilized for each DomU?
In this case, I found that :
=======
tools/libxc/xc_dom_corec, line 558:
  dom->parms.virt_hypercall = UNSET_ADDR;  // -1
------------
tools/libxc/xc_dom_boot.c, line 32:
  if ( dom->parms.virt_hypercall == -1 )
    return 0;
  /* The following will initilize the hypercall-page by HYPERVISOR_domctl_op. */
=======
So I think this case must not used now. Am I right?

Thanks,
Wu



[广告] 2008年最受关注楼盘
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>