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] update_va_mapping_otherdomain

To: mhines@xxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] update_va_mapping_otherdomain
From: "Michael R. Hines" <mhines@xxxxxxxxxxxxxxxxx>
Date: Sat, 08 Sep 2007 14:27:51 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 08 Sep 2007 11:28:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <46E2BCF4.3020309@xxxxxxxxxxxxxxxxx>
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: <C308232A.D538%Keir.Fraser@xxxxxxxxxxxx> <46E2BCF4.3020309@xxxxxxxxxxxxxxxxx>
Reply-to: mhines@xxxxxxxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.4 (X11/20070604)
So, if I would like to use dom0 to modify a specific L1 PTE belonging
to another unprivileged domain, what's the best way to go about it?

Grant references? (on L1 page tables?)

Might I be able to get a quick pointer on the right sequence of hypercalls?

Much appreciated,
- Michael

Michael R. Hines wrote:
> ooooh, ok. I understand now.
> 
> Thank you very much for your response. =)
> 
> - Michael
> 
> Keir Fraser wrote:
>> On 8/9/07 02:29, "Michael R. Hines" <mhines@xxxxxxxxxxxxxxxxx> wrote:
>>
>>> Upon successful return from update_va_mapping (i.e. return code == zero),
>>> my problem involves the last step mentioned above. The present bit still
>>> remains unchanged (is still one), although update_va_mapping return true.
>>>
>>> What might cause such a strange problem to occur?
>> That hypercall allows you to update a *local* va mapping to map *another*
>> domain's memory page. So you've mapped the guest's page somewhere random in
>> your own address space.
>>
>>  -- Keir
>>
>>
>>
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-devel
>>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

-- 
/*
Michael R. Hines
http://www.cs.binghamton.edu/~mhines/
Live long and prosper...
*/

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>