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] address mapping between domains

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] address mapping between domains
From: Christopher Clark <Christopher.Clark@xxxxxxxxxxxx>
Date: Mon, 07 Mar 2005 17:27:20 +0000
Delivery-date: Mon, 07 Mar 2005 17:28:43 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
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>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
much more likely that a privileged domain should have write access to an
unpriv domain's memory than the other way around, don't you think?

update_va_mapping:

vaddr: virtual address to be updated
val: new PTE value including machine address to stick in there
flags: whether you thump the TLB or not (or reload LDT too, by the looks
of it)

c.


On Mon, 2005-03-07 at 15:59, Zhiyi Huang wrote:
> Hi, I am trying to figure out how address mapping is done for zero-copy I/O. 
> Is it allowed by the hypervisor that a page allocated to domain0 (the 
> privileged domain) is mapped to the address space of a domainU? So far it 
> seems to be the other way around: a page from a domainU is mapped to the 
> address space of domain0 when I/O requests are sent to domain0.
> 
> Another question is about the hypercall: update_va_mapping. It has three 
> arguments: vaddr, val, flags. Can anyone kindly explain the meaning of them 
> and how they are used in the hypercall? Actually I am puzzled why there is no 
> machine page id as an argument, since the virtual address should be mapped to 
> a machine page anyway when the page table is updated.
> 
> Thanks a lot.
> 
> --------------------------
> Zhiyi from EPFL Switzerland
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/xen-devel



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel