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

Re: [Xen-devel] mapping guest domain memory to Dom0

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx, Adam Thorsen <adam.thorsen@xxxxxxxxx>
Subject: Re: [Xen-devel] mapping guest domain memory to Dom0
From: "Mark A. Williamson" <mark.williamson@xxxxxxxxxxxx>
Date: Wed, 2 Feb 2005 15:53:54 +0000
Delivery-date: Wed, 02 Feb 2005 15:59:33 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <290f54b705020207366a5e4fe6@xxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
References: <290f54b705020207366a5e4fe6@xxxxxxxxxxxxxx>
Reply-to: mark.williamson@xxxxxxxxxxxx
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.6.2
> >Right now, domains which need to map other domains
> >memory are privileged and can map what they like
>
> Is anybody doing this?  If so, what kernel mechanisms are you using?
> (I'm sure this question is very easy to answer for a kernel hacker)

Yes, shared memory is an important part of Xen's architecture.

The userspace xc library and the xcs control switch map another domain's 
memory to put the kernel image, etc into it.  The code for this is in 
tools/libxc/xc_private.c

The blkback.c, netback.c (and usbback.c if you are on unstable) drivers under 
drivers/xen/{blk,net,usb}back/ show how to map another domain's memory from 
kernel space (it's a bit less user friendly than the userspace interface).

HTH,
Mark


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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