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] Question about mapping between domU's Physical Memory and Xe

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Question about mapping between domU's Physical Memory and Xen's Machine Memory
From: "Haifeng He" <hehaifeng2nd@xxxxxxxxx>
Date: Mon, 5 Nov 2007 14:35:09 -0700
Delivery-date: Mon, 05 Nov 2007 13:35:46 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=bZPdSoiQfnPBJUa2bK4iCBpcjkoxs8gw9KN/OVrG+RM=; b=J6TKNsMtJm6LWTe42HeLUmFHc9WeevEP96ooBtPcVgm1778WY7KRhbaCg6AUknWAJFSv8jYrhH75zRqPHsc7Dz3xOYGB97hOWnQgwBbmWgoQp9+bLGUQbPct2eZACFoZZ7DzgexbRVmqGU7LOvhLijWK7+2XJPgizDsUHqVJnq4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Kx8k6NFbaxwDIWiYQro5FLqYhpXD40EEXti1m3g/CIyEGwsZzm3KhMbXetJ1XbhDqkHUMlZHX7515pQX6aeFHS8RWP6V/sD4mLIKwHO28BHWXFaCGmCoURjfF6q17elML9T/T4IkBdQePuo1WbOBMgF7XtYErLg1G86H2/hW78s=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

I am trying to understand the process of setting up the Physical-Machine mapping
between domU and Xen during domain building. If I understand correctly,
the process involves:

1. the linear address of OS kernel for domU first maps to the physical pages
in domU. For example, address 0xc0100000 -> physical page 0x100.

2. Each physical page frame in domU is assigned a machine frame number in Xen.
for example, physical page 0x100 -> machine page 0x1856.

3. Setup domU page table for the first mapping (1.).

4. Setup Phys-Mach mapping table for the second mapping (2.)

My question is, if we only talk about the mapping for domU's kernel
address (suppose OS kernel is Linux), will the two mappings mentioned
above (1. and 2.)
be modified later after domU is booted?

In the above example, will kernel address 0xc0100000 always be mapped
to physical page 0x100 and will physical page 0x100 be always mapped
to machine page 0x1856? If not, what may cause the changes?

Another question, how does Xen assign machine frame number to domU's
physical page?

Thanks

Haifeng

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Question about mapping between domU's Physical Memory and Xen's Machine Memory, Haifeng He <=