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] Doubt regarding virtual memory mapping from hypervisor to a

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Doubt regarding virtual memory mapping from hypervisor to a domain
From: Kaustubh Kabra <kaustubhwise@xxxxxxxxx>
Date: Sat, 29 Jan 2011 00:53:29 +0530
Cc: vasani.ashwin@xxxxxxxxx, Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>, keir@xxxxxxx, Tim.Deegan@xxxxxxxxxx
Delivery-date: Fri, 28 Jan 2011 11:25:02 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to:cc :content-type; bh=Q9Jw6D/Udi2MxooGS5r0z1r2LKZV4Jk+OX96cfufGrY=; b=xGJ/m7uJeOw3BG3ckoR9mVwZeV5XoRlISpzoOEuvPfMkr8HIvwKkAeXgh0TN1Yz5bX mUx1a196JOYqvrEuqyfouYNdz6KAfw4AUL4LF/n8aR9DMrjKfaOsz/BBqDZO+SSSaazL zykb0EemtfSb4p/+n9c3yM3/X5/gdwGnIOfOc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=lLnjsqamnK1zT6gY/8Rf+xxFYtFGBiAHhZc2+r5KsIXoE0u//Iim8rdeI/JAoPNT1l Zd6eVrS7YFDEgLaPE4/NF9/d3HYnSabvzH7VtQtNWNht/6v9FKTuDvWguLTIjpx4eYwk WlTktVjn/hIHr8w8sbQxgPpAiGBFGowRgprs4=
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 have allocated few order=9 pages in Xen memory space using
alloc_domheap_pages(NULL,9,0) during boot time just before domain is
created (dom0 = domain_create(0, DOMCRF_s3_integrity, DOM0_SSIDREF) in
xen/arch/x86/setup.c).

I got the following virtual addresses in xen log message-
(XEN) a2k2: Virt_addr:ffff83011cc00000   MFN:11cc00
(XEN) a2k2: Virt_addr:ffff83011ca00000   MFN:11ca00
(XEN) a2k2: Virt_addr:ffff83011c800000   MFN:11c800
(XEN) a2k2: Virt_addr:ffff83011c600000   MFN:11c600
(XEN) a2k2: Virt_addr:ffff83011c400000   MFN:11c400
(XEN) a2k2: Virt_addr:ffff83011c200000   MFN:11c200
(XEN) a2k2: Virt_addr:ffff83011c000000   MFN:11c000
(XEN) a2k2: Virt_addr:ffff83011be00000   MFN:11be00

As per config.h file Xen memory map,the virtual mapping shows that the
memory is  allocated in
1:1 direct mapping of all physical memory .Can anyone elaborate
regarding this mapping ?

Now can I allocate this mapped memory reserved by Xen hypervisor to
any domain through any existing or my new hypercall?

--
Regards,
Kaustubh Kabra
Pune Institute Of Computer  Technology,
University of Pune,
India.

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

<Prev in Thread] Current Thread [Next in Thread>