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] copy_to_user in another domain?

To: "Bryan D. Payne" <bryan@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] copy_to_user in another domain?
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Thu, 20 Apr 2006 14:35:38 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 20 Apr 2006 06:35:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <D0AE9CA7-131E-4913-A027-E36FA03CCDD5@xxxxxxxxxxxx>
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>
References: <D0AE9CA7-131E-4913-A027-E36FA03CCDD5@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 20 Apr 2006, at 14:11, Bryan D. Payne wrote:

I've got the following scenario... I'm handling a hypercall from domain A and would like to copy some data from the hypervisor to domain B. From what I can tell, it looks like the copy_to_user function (and all of its related functions) will only copy data back into domain A for me. I've been combing the hypervisor code and can't seem to find a good way to copy the data into domain B. Is there a built-in function for this? Or would I need to do something more like delay the copy until domain B is scheduled or ??

What address do you have in B? Virtual, machine, pseudo-physical?

 -- Keir


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

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